/* Cosmic Information System — site styles */

:root {
  --ink: #060a1c;
  --navy: #0c1233;
  --navy-2: #131b47;
  --cobalt: #2f4dff;
  --cobalt-deep: #1d33c4;
  --sky: #9fb1ff;
  --amber: #ffb547;
  --paper: #f6f3ec;
  --paper-2: #efebe1;
  --card: #ffffff;
  --text: #0c1233;
  --muted: #555c78;
  --line: rgba(12, 18, 51, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.3vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
em, .accent { font-style: italic; color: var(--cobalt); }
.dark em, .dark .accent { color: var(--amber); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.dark .lead { color: rgba(255, 255, 255, 0.74); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn svg { flex: none; width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(255, 181, 71, 0.7); }
.btn-primary:hover { transform: translateY(-2px); background: #ffc56c; }
.btn-blue { background: var(--cobalt); color: #fff; box-shadow: 0 12px 30px -14px rgba(47, 77, 255, 0.8); }
.btn-blue:hover { transform: translateY(-2px); background: var(--cobalt-deep); }
.btn-ghost { border: 1px solid var(--line-dark); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-line { border: 1px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--cobalt); border-bottom: 1px solid transparent; transition: border-color 0.2s, gap 0.2s;
}
.link:hover { border-color: currentColor; gap: 12px; }
.link svg { width: 15px; height: 15px; }
.dark .link { color: var(--amber); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.open {
  background: rgba(6, 10, 28, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; }
.brand-sub { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .menu-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links .menu-btn:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-btn svg { width: 12px; height: 12px; transition: transform 0.2s; }
.has-menu:hover .menu-btn svg, .has-menu.open .menu-btn svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 340px; padding: 10px;
  background: var(--navy); border: 1px solid var(--line-dark); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 12px 14px; border-radius: 10px; }
.menu a strong { display: block; color: #fff; font-weight: 600; font-size: 0.95rem; }
.menu a span { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.58); line-height: 1.4; margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-phone:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-panel { display: none; }

@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .mobile-panel {
    display: block; position: fixed; inset: 76px 0 0 0; z-index: 99; overflow-y: auto;
    background: var(--ink); color: #fff; padding: 20px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
  }
  .mobile-panel.open { opacity: 1; visibility: visible; }
  .mobile-panel a.m-link {
    display: block; padding: 15px 0; border-bottom: 1px solid var(--line-dark);
    font-family: var(--display); font-size: 1.45rem; text-decoration: none; letter-spacing: -0.01em;
  }
  .mobile-panel .m-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 22px 0 4px; }
  .mobile-panel .btn { width: 100%; margin-top: 26px; }
  .mobile-panel .m-phone { display: block; text-align: center; margin-top: 16px; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
}
@media (max-width: 520px) {
  .nav-cta .btn { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.dark { background: var(--ink); color: #fff; }
.hero { position: relative; overflow: hidden; padding: clamp(120px, 13vw, 160px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(47, 77, 255, 0.38), transparent 70%),
    radial-gradient(40% 40% at 12% 95%, rgba(255, 181, 71, 0.1), transparent 70%),
    linear-gradient(180deg, var(--ink), var(--navy));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Orbit graphic */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; margin-inline: auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: rgba(159, 177, 255, 0.28); stroke-width: 1; }
.orbit .ring.dash { stroke-dasharray: 2 9; stroke: rgba(159, 177, 255, 0.45); }
.orbit .spin { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
.orbit .spin.r2 { animation-duration: 90s; animation-direction: reverse; }
.orbit .spin.r3 { animation-duration: 130s; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  font-size: 0.82rem; font-weight: 600; text-decoration: none; color: #fff;
  background: rgba(12, 18, 51, 0.78); border: 1px solid rgba(159, 177, 255, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.chip:hover { border-color: var(--amber); background: var(--navy-2); }
.chip:nth-of-type(2) { animation-delay: -1.5s; }
.chip:nth-of-type(3) { animation-delay: -3s; }
.chip:nth-of-type(4) { animation-delay: -4.5s; }
.chip:nth-of-type(5) { animation-delay: -6s; }
@keyframes float { 50% { margin-top: -8px; } }
.core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 32% 28%, #5d76ff, var(--cobalt) 45%, #16269a 100%);
  box-shadow: 0 0 0 10px rgba(47, 77, 255, 0.12), 0 0 90px 10px rgba(47, 77, 255, 0.55);
}
.core b { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.core span { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; margin-top: 6px; }

/* Inner hero */
.hero.inner { padding-bottom: clamp(56px, 7vw, 90px); }
.hero.inner h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); max-width: 18ch; }
.hero.inner .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.hero-points { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 8px 24px; background: rgba(255, 255, 255, 0.03); }
.hero-points li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; font-size: 0.98rem; color: rgba(255, 255, 255, 0.86); }
.hero-points li + li { border-top: 1px solid var(--line-dark); }
.hero-points li::before { content: counter(hp, decimal-leading-zero); counter-increment: hp; font-family: var(--mono); font-size: 0.72rem; color: var(--amber); }
.hero-points { counter-reset: hp; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: linear-gradient(180deg, var(--ink), var(--navy)); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 68px); }
.head.single { grid-template-columns: 1fr; max-width: 880px; }
.head p { color: var(--muted); }
.dark .head p { color: rgba(255, 255, 255, 0.7); }

/* Experience strip */
.strip { border-block: 1px solid var(--line-dark); background: var(--navy); color: #fff; padding: 22px 0; overflow: hidden; }
.strip-inner { display: flex; align-items: center; gap: 34px; }
.strip-label { flex: none; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); max-width: 150px; line-height: 1.5; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 52px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { font-family: var(--display); font-size: 1.3rem; white-space: nowrap; color: rgba(255, 255, 255, 0.72); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Situation list */
.needs { border-top: 1px solid var(--line); }
.need {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.25s, padding 0.3s var(--ease);
}
.need:hover { background: var(--card); padding-inline: 22px; }
.need .n { font-family: var(--mono); font-size: 0.78rem; color: var(--cobalt); }
.need p { font-family: var(--display); font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.25; letter-spacing: -0.01em; }
.need .go { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.need .go svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; border: 1px solid var(--line); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.need:hover .go svg { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
@media (max-width: 720px) { .need { grid-template-columns: 36px minmax(0, 1fr) auto; } .need .go span { display: none; } }

/* Service cards (home) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
  grid-column: span 3; position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); text-decoration: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(159, 177, 255, 0.55); background: rgba(255, 255, 255, 0.07); }
.tile.feature { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; background: linear-gradient(135deg, rgba(47, 77, 255, 0.32), rgba(47, 77, 255, 0.06)); border-color: rgba(159, 177, 255, 0.35); }
.tile.feature > div { display: flex; flex-direction: column; gap: 14px; }
.tile.third { grid-column: span 2; }
.tile .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(159, 177, 255, 0.14); color: var(--sky); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.12; }
.tile p { color: rgba(255, 255, 255, 0.7); font-size: 0.98rem; }
.tile .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--amber); }
.tile .more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.tile:hover .more svg { transform: translateX(4px); }
.tile .tag { align-self: flex-start; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 5px 10px; border-radius: 999px; }
.proof li { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.proof li:last-child { border-bottom: 1px solid var(--line-dark); }
.proof strong { display: block; font-size: 1.02rem; }
.proof span { font-size: 0.93rem; color: rgba(255, 255, 255, 0.68); }
@media (max-width: 900px) { .tile, .tile.third { grid-column: span 6; } .tile.feature { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; color: var(--cobalt); }
.stat span { display: block; margin-top: 12px; font-size: 0.93rem; color: var(--muted); max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n + 3) { margin-top: 30px; border-top: 1px solid var(--line); } }

/* Generic cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(12, 18, 51, 0.35); }
.card .k { font-family: var(--mono); font-size: 0.72rem; color: var(--cobalt); letter-spacing: 0.1em; }
.card h3 { margin: 14px 0 10px; font-size: 1.16rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.dark .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.dark .card:hover { box-shadow: none; border-color: rgba(159, 177, 255, 0.5); }
.dark .card p { color: rgba(255, 255, 255, 0.7); }
.dark .card .k { color: var(--amber); }
.note { margin-top: 26px; font-size: 0.86rem; color: var(--muted); font-style: italic; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); counter-reset: st; }
.step { padding: 30px 22px 6px 0; position: relative; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.step + .step::before { left: 22px; }
.step .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin: 10px 0 4px; }
.step .sub { font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); }
.step .del { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-dark); font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }
.step .del b { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-dark); }
  .step, .step + .step { padding: 0 0 34px 28px; border-left: 0; }
  .step::before, .step + .step::before { top: 8px; left: -5px; }
}

/* Service detail list */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(30px, 4vw, 50px); }
.jump a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; text-decoration: none; color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.jump a:hover { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
.svc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px 70px; padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.svc-head { position: sticky; top: 110px; align-self: start; }
.svc-head .num { font-family: var(--mono); font-size: 0.78rem; color: var(--cobalt); letter-spacing: 0.1em; }
.svc-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
.svc-head .tagline { font-weight: 600; color: var(--cobalt); font-size: 1rem; }
.svc-body > p { color: var(--muted); }
.svc-body > p + p { margin-top: 14px; }
.svc-body .label { margin: 26px 0 12px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.ticks { display: grid; gap: 0; }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 0.98rem; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg) scale(0.75); transform-origin: left; }
.ticks li strong { font-weight: 600; }
.ticks li span { color: var(--muted); }
.value { margin-top: 26px; padding: 20px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--amber); font-size: 0.98rem; }
.value b { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 6px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc-head { position: static; } .head { grid-template-columns: 1fr; } }

/* Prose intro */
.intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 30px 70px; }
.intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.intro .body p { color: var(--muted); font-size: 1.06rem; }
.intro .body p:first-child { color: var(--text); font-size: 1.22rem; line-height: 1.55; }
.intro .body p + p { margin-top: 18px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 70px; align-items: center; }
.founder-card { position: relative; border-radius: 24px; padding: 38px; color: #fff; overflow: hidden; background: linear-gradient(150deg, var(--navy-2), var(--ink)); }
.founder-card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(159, 177, 255, 0.35); box-shadow: 0 0 0 50px rgba(47, 77, 255, 0.08), 0 0 0 110px rgba(47, 77, 255, 0.05); }
.mono-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 2rem; background: var(--cobalt); margin-bottom: 70px; position: relative; }
.founder-card .name { font-family: var(--display); font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.founder-card .role { color: rgba(255, 255, 255, 0.68); margin-top: 6px; font-size: 0.95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges li { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(159, 177, 255, 0.4); color: var(--sky); }
.founder .body p { color: var(--muted); margin-top: 18px; }
.founder .body .link { margin-top: 26px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .mono-badge { margin-bottom: 40px; } }

/* Books */
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.book { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.book img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 26px 40px -22px rgba(12, 18, 51, 0.6), 0 0 0 1px rgba(12, 18, 51, 0.06); transform: rotate(-2.5deg); transition: transform 0.4s var(--ease); }
.book:hover img { transform: rotate(0) translateY(-4px); }
.book h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.015em; }
.book .subt { font-weight: 600; font-size: 0.93rem; margin-top: 6px; }
.book p.d { color: var(--muted); font-size: 0.94rem; margin: 12px 0 16px; }
@media (max-width: 1000px) { .books { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .book { grid-template-columns: 1fr; } .book img { max-width: 170px; } }

/* Timeline (about) */
.timeline { border-left: 1px solid var(--line); margin-left: 6px; }
.tl { position: relative; padding: 0 0 46px 38px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--cobalt); }
.tl .when { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
.tl h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 8px 0 12px; letter-spacing: -0.015em; }
.tl p { color: var(--muted); max-width: 70ch; }
.tl p + p { margin-top: 12px; }
.orgs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.orgs li { font-size: 0.82rem; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px 60px; align-items: start; }
.info li { padding: 20px 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
.info .v { display: block; margin-top: 6px; font-size: 1.12rem; font-weight: 500; text-decoration: none; }
.info a.v:hover { color: var(--cobalt); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -50px rgba(12, 18, 51, 0.4); }
.form h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin-bottom: 6px; }
.form .hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(47, 77, 255, 0.14); }
.form .btn { width: 100%; }
.form .fine { margin-top: 14px; font-size: 0.82rem; color: var(--muted); text-align: center; }
.calendly { margin-top: 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-dark); background: #fff; }
.calendly iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr; } }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(80px, 11vw, 150px) 0; background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 77, 255, 0.5), transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(159, 177, 255, 0.16); }
.cta::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(720px, 110vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(159, 177, 255, 0.28); }
.cta h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 17ch; margin-inline: auto; }
.cta p { max-width: 58ch; margin: 24px auto 0; color: rgba(255, 255, 255, 0.76); font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; }
.cta .assure { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); border-top: 1px solid var(--line-dark); padding: 70px 0 30px; font-size: 0.94rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.foot li { margin-bottom: 9px; }
.foot a { text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: #fff; }
.foot .blurb { margin-top: 18px; max-width: 34ch; }
.foot address { font-style: normal; line-height: 1.7; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 8px;
    background: rgba(6, 10, 28, 0.92); border: 1px solid var(--line-dark); border-radius: 999px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(140%); transition: transform 0.4s var(--ease);
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; padding: 13px 14px; font-size: 0.9rem; }
  .sticky-cta .call { flex: none; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; display: grid; place-items: center; }
  .sticky-cta .call svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: 100px; }
}

/* Responsive hero */
@media (max-width: 940px) {
  .hero-grid, .hero.inner .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { max-width: 420px; margin-top: 20px; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .strip-label { max-width: none; }
  .marquee { width: 100%; }
}

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .sticky-cta, .mobile-panel, .orbit, .calendly { display: none !important; }
  .dark, .hero, .cta, .site-footer { background: #fff !important; color: #000 !important; }
}

/* Eyebrow keeps its accent colour inside containers that restyle paragraphs */
.head p.eyebrow, .founder .body p.eyebrow { color: var(--cobalt); margin-top: 0; }
.dark .head p.eyebrow { color: var(--amber); }

/* Long button labels wrap instead of overflowing on phones */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .hero-actions .btn { width: 100%; }
  .sticky-cta .btn { width: auto; white-space: nowrap; }
}
