:root {
  --ink: #081014;
  --ink-2: #0d151a;
  --ink-3: #121c22;
  --ink-soft: #1a262d;
  --paper: #f4f2ed;
  --paper-2: #ebe9e2;
  --paper-3: #dedbd2;
  --mist: #dfe8e4;
  --text: #f3f4f1;
  --text-soft: #c9cfcc;
  --text-faint: #8e9a95;
  --text-dark: #10171b;
  --text-dark-soft: #4d585c;
  --signal: #83dfba;
  --signal-strong: #57c99e;
  --signal-dark: #125f49;
  --line-dark: rgba(244, 247, 245, 0.16);
  --line-darker: rgba(244, 247, 245, 0.09);
  --line-light: rgba(8, 16, 20, 0.14);
  --line-lighter: rgba(8, 16, 20, 0.08);
  --shadow-dark: 0 26px 90px rgba(0, 0, 0, 0.26);
  --shadow-light: 0 18px 54px rgba(18, 34, 30, 0.08);
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --container: 1410px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--ink);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--ink);
  background: var(--signal);
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--signal);
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(131, 223, 186, 0.62);
  outline-offset: 4px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--signal-dark);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 16, 20, 0.9);
  backdrop-filter: blur(16px) saturate(120%);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 2.55vw, 42px);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.primary-nav a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
}

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

.nav-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: var(--signal) !important;
  border: 1px solid rgba(131, 223, 186, 0.66);
  border-radius: var(--radius-sm);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--ink) !important;
  background: var(--signal);
  border-color: var(--signal);
}

.external-mark {
  display: inline-block;
  margin-left: 4px;
  color: var(--signal);
  font-size: 0.75em;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 22%, rgba(131, 223, 186, 0.07), transparent 28rem),
    radial-gradient(circle at 78% 0%, rgba(131, 223, 186, 0.06), transparent 28rem),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(600px, 1.04fr);
  gap: clamp(52px, 6vw, 98px);
  align-items: center;
  padding-top: 42px;
  padding-bottom: 14px;
}

.hero-copy {
  padding: 40px 0 56px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 27px;
  font-size: clamp(3.45rem, 4.85vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.061em;
  font-weight: 720;
}

.hero h1 span {
  color: var(--signal);
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.28vw, 1.28rem);
  line-height: 1.62;
  letter-spacing: -0.012em;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a2ebcf;
  border-color: #a2ebcf;
}

.button-dark {
  color: var(--text);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--signal);
  background: var(--ink-3);
  border-color: var(--ink-3);
}

.text-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 680;
  text-decoration: none;
}

.text-link {
  color: var(--text);
}

.text-link-dark,
.section-link {
  color: var(--signal-dark);
}

.text-link span,
.section-link span {
  transition: transform 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span,
.section-link:hover span,
.section-link:focus-visible span {
  transform: translateX(4px);
}

.handoff-panel {
  position: relative;
  min-height: 420px;
  padding: 30px 34px 24px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    var(--ink-2);
  box-shadow: var(--shadow-dark);
  isolation: isolate;
}

.handoff-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(131, 223, 186, 0.08), transparent 16rem),
    radial-gradient(circle at 55% 40%, rgba(131, 223, 186, 0.055), transparent 12rem);
}

.handoff-offset {
  position: absolute;
  z-index: 6;
  top: 27px;
  left: 50%;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(131, 223, 186, 0.66);
  border-radius: 999px;
  color: var(--signal);
  background: rgba(8, 16, 20, 0.44);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.handoff-clock {
  position: absolute;
  z-index: 7;
  top: 30px;
  display: grid;
  gap: 1px;
}

.handoff-clock-europe {
  left: 34px;
}

.handoff-clock-singapore {
  right: 34px;
  text-align: right;
}

.clock-region,
.clock-time {
  font-family: var(--font-mono);
}

.clock-region {
  color: var(--text-soft);
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.clock-time {
  color: var(--text);
  font-size: 1.58rem;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.clock-note {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.clock-sun {
  width: 25px;
  height: 25px;
  margin-top: 8px;
  fill: none;
  stroke: var(--text-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.handoff-clock-singapore .clock-sun {
  justify-self: end;
}

.handoff-visual {
  position: absolute;
  z-index: 1;
  top: 67px;
  right: 10px;
  left: 10px;
  height: 246px;
  pointer-events: none;
}

.handoff-map,
.handoff-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.handoff-map {
  object-fit: contain;
  opacity: 0.8;
}

.handoff-route {
  z-index: 2;
  overflow: visible;
  color: var(--signal);
}

.route-shadow,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.route-shadow {
  stroke: rgba(87, 201, 158, 0.2);
  stroke-width: 8;
  filter: blur(8px);
}

.route-line {
  stroke: var(--signal);
  stroke-width: 2.25;
  stroke-dasharray: 9 8;
  animation: route-flow 12s linear infinite;
}

.route-origin,
.route-destination {
  fill: var(--signal);
  vector-effect: non-scaling-stroke;
}

.route-origin {
  opacity: 0.78;
}

.route-destination {
  filter: url(#route-glow);
}

.route-destination-glow {
  fill: rgba(131, 223, 186, 0.13);
  filter: blur(4px);
}

@keyframes route-flow {
  to { stroke-dashoffset: -68; }
}

.handoff-logo-wrap {
  position: absolute;
  z-index: 5;
  top: 57%;
  left: 55%;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 247, 245, 0.35);
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 0 0 7px rgba(8, 16, 20, 0.88),
    0 18px 42px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.handoff-logo-wrap img {
  position: relative;
  z-index: 3;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.orbit {
  position: absolute;
  z-index: -1;
  inset: -19px;
  border: 1px solid rgba(230, 238, 234, 0.2);
  border-radius: 50%;
}

.orbit-two {
  inset: -38px;
  border-color: rgba(131, 223, 186, 0.32);
  border-style: dashed;
}

.handoff-steps {
  position: absolute;
  z-index: 8;
  right: 34px;
  bottom: 25px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.handoff-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 12%;
  left: 12%;
  border-top: 1px dashed rgba(224, 235, 231, 0.5);
}

.handoff-step {
  position: relative;
  z-index: 2;
  padding-top: 52px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--signal);
  border-radius: 50%;
  color: var(--text);
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.handoff-step h2 {
  margin-bottom: 4px;
  font-size: 0.97rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.handoff-step p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.42;
}

.proof-strip {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink-2);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 26px;
  border-right: 1px solid var(--line-dark);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-icon {
  width: 42px;
  height: 42px;
  color: var(--text);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item h2 {
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 650;
}

.proof-item p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.42;
}

.section {
  padding: clamp(80px, 8vw, 132px) 0;
}

.section-light {
  color: var(--text-dark);
  background: var(--paper);
}

.section-dark {
  color: var(--text);
  background: var(--ink);
}

.section-mist {
  color: var(--text-dark);
  background: var(--mist);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.48fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  margin-bottom: 52px;
}

.section-heading-inline {
  align-items: end;
}

.section-heading h2,
.open-source-copy h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 710;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--text-dark-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-heading-dark > p {
  color: var(--text-soft);
}

.section-link {
  justify-self: end;
  align-self: end;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

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

.capability-card {
  min-height: 315px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-content: start;
  padding: 30px 28px 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-light);
}

.card-icon {
  width: 46px;
  height: 46px;
  color: var(--signal-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3 {
  margin: 3px 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.capability-card p {
  min-height: 104px;
  margin-bottom: 24px;
  color: var(--text-dark-soft);
  font-size: 0.92rem;
}

.capability-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
}

.capability-card a span {
  color: var(--signal-dark);
  transition: transform 160ms ease;
}

.capability-card a:hover span,
.capability-card a:focus-visible span {
  transform: translateX(4px);
}

.work-section {
  padding-top: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  min-height: 260px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 30px;
  color: var(--text-dark);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(18, 95, 73, 0.48);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-light);
}

.work-icon {
  width: 62px;
  height: 62px;
  color: var(--text-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-content {
  display: flex;
  flex-direction: column;
}

.work-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.work-title-row h3 {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.work-title-row > span {
  color: var(--signal-dark);
  font-size: 1.1rem;
}

.work-card p {
  margin-bottom: 24px;
  color: var(--text-dark-soft);
  font-size: 0.94rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 4px 8px;
  color: var(--signal-dark);
  border: 1px solid rgba(18, 95, 73, 0.16);
  border-radius: 999px;
  background: rgba(131, 223, 186, 0.09);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.approach-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(131, 223, 186, 0.08), transparent 32rem),
    var(--ink);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  list-style: none;
}

.approach-card {
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}

.approach-index {
  display: block;
  margin-bottom: 92px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.approach-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.approach-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.principles-panel {
  margin-top: 22px;
  padding: 28px 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.principles-kicker {
  margin-bottom: 22px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.principles-grid > div {
  padding: 0 24px;
  border-right: 1px solid var(--line-dark);
}

.principles-grid > div:first-child {
  padding-left: 0;
}

.principles-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.principles-grid strong,
.principles-grid span {
  display: block;
}

.principles-grid strong {
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.principles-grid span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.open-source-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(72px, 10vw, 150px);
  align-items: center;
}

.open-source-mark {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}

.open-source-mark::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
  box-shadow: var(--shadow-light);
}

.open-source-mark img {
  position: relative;
  z-index: 2;
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.mark-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(8, 16, 20, 0.16);
  border-radius: 50%;
}

.mark-ring-two {
  inset: 0;
  border-style: dashed;
  border-color: rgba(18, 95, 73, 0.32);
}

.open-source-copy h2 {
  margin-bottom: 25px;
}

.open-source-lede {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--text-dark-soft);
  font-size: 1.1rem;
  line-height: 1.68;
}

.statement-list {
  margin: 0 0 36px;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.statement-list li {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 0.58fr);
  gap: 30px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-light);
}

.statement-list strong {
  color: var(--text-dark);
}

.statement-list span {
  color: var(--text-dark-soft);
}

.writing-section {
  border-top: 1px solid var(--line-light);
}

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

.writing-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  color: var(--text-dark);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
  transition: background 180ms ease;
}

.writing-card:hover,
.writing-card:focus-visible {
  background: rgba(131, 223, 186, 0.085);
}

.writing-card time {
  margin-bottom: 76px;
  color: var(--signal-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.writing-card h3 {
  margin-bottom: 14px;
  font-size: 1.48rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.writing-card p {
  margin-bottom: 28px;
  color: var(--text-dark-soft);
}

.writing-card > span {
  margin-top: auto;
  color: var(--signal-dark);
  font-size: 0.86rem;
  font-weight: 720;
}

.section-about {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 100%, rgba(131, 223, 186, 0.08), transparent 30rem),
    var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy > p {
  max-width: 800px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-copy em {
  color: var(--text);
}

.about-panel {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.about-panel::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px dashed rgba(131, 223, 186, 0.3);
  border-radius: 50%;
}

.about-panel img {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  object-fit: contain;
  align-self: end;
}

.about-panel blockquote {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin: 16px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  align-self: start;
}

.about-panel blockquote p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.58;
}

.contact-section {
  padding: clamp(88px, 9vw, 144px) 0;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 100%, rgba(131, 223, 186, 0.11), transparent 35rem),
    var(--ink);
  border-top: 1px solid var(--line-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(520px, 0.77fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 26px;
}

.contact-copy > p {
  max-width: 710px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.68;
}

.contact-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.contact-signals span {
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: var(--shadow-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}

.contact-form label > span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 154px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(244, 247, 245, 0.28);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--signal);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 0 0 3px rgba(131, 223, 186, 0.11);
}

.contact-form textarea::placeholder {
  color: var(--text-faint);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
}

.form-footer p {
  max-width: 250px;
  margin-bottom: 0;
  color: var(--text-faint);
  font-size: 0.7rem;
  line-height: 1.45;
}

.form-footer a {
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
}

.footer-grid {
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--signal);
}

.footer-meta {
  justify-self: end;
  margin-bottom: 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

/* Supporting pages */
.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(131,223,186,0.08), transparent 30rem),
    var(--ink);
}

.simple-page {
  padding: clamp(72px, 10vw, 140px) 0;
}

.simple-page-inner {
  max-width: 880px;
}

.simple-page h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.simple-page h2 {
  margin: 48px 0 14px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.simple-page p,
.simple-page li {
  color: var(--text-soft);
}

.simple-page ul {
  padding-left: 1.2rem;
}

.simple-page .button-row {
  margin-top: 32px;
}

.simple-card {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
}

@media (max-width: 1250px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(545px, 1.12fr);
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 5vw, 4.8rem);
  }

  .primary-nav {
    gap: 22px;
    font-size: 0.82rem;
  }

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

  .capability-card {
    min-height: 270px;
  }

  .capability-card p {
    min-height: auto;
  }
}

@media (max-width: 1060px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    z-index: 90;
    inset: 76px 0 0;
    background: rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(2px);
  }

  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    padding-bottom: 14px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  /* Without JavaScript the complete navigation remains visible below the brand. */
  .primary-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
    padding-top: 4px;
  }

  .nav-enhanced .header-inner {
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .nav-enhanced .nav-toggle {
    display: block;
  }

  .nav-enhanced .primary-nav {
    position: fixed;
    z-index: 120;
    top: 76px;
    right: 0;
    bottom: 0;
    width: min(400px, 88vw);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 26px 24px 40px;
    overflow-y: auto;
    border-left: 1px solid var(--line-dark);
    background: rgba(8, 16, 20, 0.985);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 210ms ease, visibility 210ms step-end;
  }

  .nav-enhanced .primary-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 210ms ease, visibility 0ms;
  }

  .nav-enhanced .primary-nav a {
    padding: 16px 8px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.96rem;
  }

  .nav-enhanced .primary-nav a::after {
    display: none;
  }

  .nav-enhanced .primary-nav .nav-contact {
    min-height: 50px;
    justify-content: center;
    margin-top: 22px;
    padding: 0 20px;
    border-bottom: 1px solid var(--signal);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 22px;
    padding-bottom: 52px;
  }

  .hero-copy {
    padding: 52px 0 48px;
  }

  .hero h1 {
    max-width: 820px;
    font-size: clamp(3.6rem, 8vw, 6rem);
  }

  .hero-lede {
    max-width: 760px;
  }

  .handoff-panel {
    min-height: 430px;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

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

  .proof-item:first-child,
  .proof-item:nth-child(3) {
    padding-left: 26px;
  }

  .proof-item:nth-child(2),
  .proof-item:last-child {
    padding-right: 26px;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading > p {
    max-width: 760px;
  }

  .section-link {
    justify-self: start;
  }

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

  .approach-card {
    min-height: 230px;
  }

  .approach-index {
    margin-bottom: 58px;
  }

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

  .principles-grid > div {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line-dark);
  }

  .principles-grid > div:nth-child(2) {
    border-right: 0;
  }

  .principles-grid > div:nth-child(3),
  .principles-grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .principles-grid > div:first-child,
  .principles-grid > div:nth-child(3) {
    padding-left: 0;
  }

  .principles-grid > div:nth-child(2),
  .principles-grid > div:last-child {
    padding-right: 0;
  }

  .open-source-grid {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    gap: 54px;
  }

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

  .writing-card {
    min-height: 270px;
  }

  .writing-card time {
    margin-bottom: 48px;
  }

  .about-panel {
    min-height: 420px;
  }

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

  .contact-form {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  body.nav-open::after {
    top: 68px;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-enhanced .header-inner {
    padding-bottom: 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-wordmark {
    font-size: 1.55rem;
  }

  .nav-enhanced .primary-nav {
    top: 68px;
  }

  .hero-copy {
    padding: 42px 0 38px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 1.01;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button {
    width: 100%;
  }

  .handoff-panel {
    min-height: 625px;
    padding: 25px 20px;
  }

  .handoff-offset {
    top: 82px;
    min-height: 28px;
    padding-inline: 11px;
    font-size: 0.61rem;
  }

  .handoff-clock {
    top: 24px;
  }

  .handoff-clock-europe {
    left: 20px;
  }

  .handoff-clock-singapore {
    right: 20px;
  }

  .clock-region {
    font-size: 0.62rem;
  }

  .clock-time {
    font-size: 1.24rem;
  }

  .clock-note {
    font-size: 0.7rem;
  }

  .clock-sun {
    display: none;
  }

  .handoff-visual {
    top: 102px;
    right: -10px;
    left: -10px;
    height: 225px;
  }

  .handoff-logo-wrap {
    top: 58%;
    width: 78px;
    height: 78px;
  }

  .handoff-logo-wrap img {
    width: 58px;
    height: 58px;
  }

  .orbit {
    inset: -14px;
  }

  .orbit-two {
    inset: -29px;
  }

  .handoff-steps {
    position: absolute;
    right: 20px;
    bottom: 22px;
    left: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .handoff-steps::before {
    top: 18px;
    bottom: 18px;
    left: 18px;
    width: 1px;
    height: auto;
    border-top: 0;
    border-left: 1px dashed rgba(224, 235, 231, 0.5);
  }

  .handoff-step {
    min-height: 76px;
    padding: 3px 0 0 56px;
  }

  .step-number {
    left: 0;
  }

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

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(2),
  .proof-item:nth-child(3),
  .proof-item:last-child {
    min-height: 92px;
    padding: 19px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .open-source-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

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

  .capability-card {
    min-height: auto;
    grid-template-columns: 44px 1fr;
    padding: 25px 22px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
  }

  .work-card {
    min-height: auto;
    grid-template-columns: 54px 1fr;
    padding: 24px 21px;
  }

  .work-icon {
    width: 48px;
    height: 48px;
  }

  .approach-card {
    min-height: 260px;
    padding: 26px 22px;
  }

  .principles-panel {
    padding: 24px 21px;
  }

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

  .principles-grid > div,
  .principles-grid > div:first-child,
  .principles-grid > div:nth-child(2),
  .principles-grid > div:nth-child(3),
  .principles-grid > div:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

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

  .open-source-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .open-source-mark {
    width: min(88vw, 390px);
  }

  .statement-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .writing-card {
    min-height: 310px;
    padding: 25px 22px;
  }

  .about-panel {
    min-height: 420px;
    padding: 28px 22px;
  }

  .about-panel img {
    width: 160px;
    height: 160px;
  }

  .contact-form {
    padding: 23px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-footer p {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
    padding: 28px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .footer-meta {
    justify-self: start;
    text-align: left;
  }
}

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

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

@media print {
  .site-header,
  .contact-form,
  .site-footer,
  .hero-actions,
  .section-link,
  .button-row {
    display: none !important;
  }

  body,
  .hero,
  .section-dark,
  .section-about,
  .contact-section {
    color: #000;
    background: #fff;
  }

  .section,
  .contact-section {
    padding: 36px 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
