:root {
  --ink: #171411;
  --ink-soft: #3c3833;
  --paper: #f8f7f2;
  --white: #ffffff;
  --mist: #e9efe8;
  --teal: #0d7f7a;
  --teal-dark: #075b58;
  --coral: #f06b4f;
  --gold: #e2a72d;
  --line: rgba(23, 20, 17, 0.14);
  --shadow: 0 24px 70px rgba(23, 20, 17, 0.14);
  --radius: 8px;
  --max: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: rgba(240, 107, 79, 0.24);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(23, 20, 17, 0.08);
  background: rgba(248, 247, 242, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(13, 127, 122, 0.1);
  color: var(--teal-dark);
  outline: none;
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 26%, rgba(13, 127, 122, 0.08), transparent 31%),
    radial-gradient(circle at 83% 72%, rgba(240, 107, 79, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(248, 247, 242, 1) 0%, rgba(248, 247, 242, 0.98) 48%, rgba(233, 239, 232, 0.62) 100%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(23, 20, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 20, 17, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image:
    radial-gradient(circle at 72% 44%, black 0%, black 40%, transparent 71%),
    linear-gradient(90deg, transparent 0%, black 32%, black 100%);
  animation: gridDrift 26s linear infinite;
}

.hero__system {
  position: absolute;
  right: max(5vw, calc((100vw - var(--max)) / 2));
  top: 13%;
  z-index: 0;
  width: min(560px, 43vw);
  height: 63%;
  min-height: 410px;
  color: var(--ink);
  pointer-events: none;
}

.hero__system::before,
.hero__system::after {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 999px;
  pointer-events: none;
}

.hero__system::before {
  background: conic-gradient(
    from 24deg,
    transparent 0deg,
    rgba(13, 127, 122, 0.2) 50deg,
    transparent 92deg,
    rgba(226, 167, 45, 0.18) 170deg,
    transparent 218deg,
    rgba(240, 107, 79, 0.18) 280deg,
    transparent 360deg
  );
  mask-image: radial-gradient(circle, transparent 0 52%, black 53% 55%, transparent 56% 100%);
  opacity: 0.62;
  animation: systemOrbit 28s linear infinite;
}

.hero__system::after {
  inset: 0;
  background:
    radial-gradient(circle at 24% 47%, rgba(13, 127, 122, 0.22), transparent 18%),
    radial-gradient(circle at 68% 22%, rgba(226, 167, 45, 0.16), transparent 20%),
    radial-gradient(circle at 78% 70%, rgba(240, 107, 79, 0.18), transparent 22%);
  filter: blur(8px);
  opacity: 0.62;
  animation: systemDrift 14s ease-in-out infinite;
}

.system-field,
.system-node,
.system-dot {
  position: absolute;
}

.system-field {
  border-radius: 999px;
  opacity: 0.72;
  filter: blur(0.2px);
  animation: fieldFloat 13s ease-in-out infinite;
}

.system-field--one {
  left: 0;
  top: 20%;
  width: 52%;
  height: 38%;
  background: radial-gradient(circle, rgba(13, 127, 122, 0.13), transparent 66%);
}

.system-field--two {
  right: 3%;
  top: 18%;
  width: 42%;
  height: 40%;
  background: radial-gradient(circle, rgba(226, 167, 45, 0.13), transparent 68%);
  animation-delay: -5s;
}

.system-field--three {
  right: 12%;
  bottom: 8%;
  width: 48%;
  height: 46%;
  background: radial-gradient(circle, rgba(240, 107, 79, 0.13), transparent 68%);
  animation-delay: -9s;
}

.system-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(13, 127, 122, 0.09), 0 0 26px rgba(13, 127, 122, 0.35);
  animation: dotFloat 10s ease-in-out infinite;
}

.system-dot--one {
  left: 17%;
  top: 31%;
}

.system-dot--two {
  right: 16%;
  top: 29%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(226, 167, 45, 0.1), 0 0 26px rgba(226, 167, 45, 0.34);
  animation-delay: -3.5s;
}

.system-dot--three {
  right: 28%;
  bottom: 18%;
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(240, 107, 79, 0.1), 0 0 26px rgba(240, 107, 79, 0.34);
  animation-delay: -7s;
}

.system-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 112px;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 46px rgba(23, 20, 17, 0.1);
  backdrop-filter: blur(14px);
  font-weight: 900;
  animation: nodeFloat 8s ease-in-out infinite;
}

.system-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 45%, transparent 72%);
  transform: translateX(-140%);
  animation: nodeSheen 7s ease-in-out infinite;
}

.system-node--product {
  left: 6%;
  top: 38%;
  border-color: rgba(13, 127, 122, 0.28);
  --float-x: -8px;
  --float-y: 9px;
}

.system-node--systems {
  left: 31%;
  top: 8%;
  --float-x: 7px;
  --float-y: -8px;
  animation-delay: -1.2s;
}

.system-node--scale {
  right: 4%;
  top: 29%;
  background: rgba(13, 127, 122, 0.1);
  --float-x: 8px;
  --float-y: 7px;
  animation-delay: -2.1s;
}

.system-node--venture {
  left: 29%;
  bottom: 10%;
  background: rgba(226, 167, 45, 0.14);
  --float-x: -5px;
  --float-y: -9px;
  animation-delay: -3.2s;
}

.system-node--craft {
  right: 10%;
  bottom: 25%;
  background: rgba(240, 107, 79, 0.14);
  --float-x: 6px;
  --float-y: -7px;
  animation-delay: -4.4s;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 16px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: 5rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__lede {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1.45;
}

.hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.text-link svg,
.contact-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 20, 17, 0.16);
  outline: none;
}

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

.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 760px;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 6rem 5vw;
}

.section--white {
  background: var(--white);
}

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

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

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.8fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2,
.cta h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.cta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.section--ink .section-heading p,
.section--ink .card p,
.section--ink .text-link,
.section--ink .timeline__meta,
.section--ink .timeline__body {
  color: rgba(255, 255, 255, 0.74);
}

.proof-band {
  padding: 1.4rem 5vw;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 124px;
  padding: 1.1rem;
  background: var(--white);
}

.proof-item strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.section--ink .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.card__kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section--ink .card__kicker {
  color: #8ad4ce;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline__meta {
  color: var(--ink-soft);
  font-weight: 800;
}

.timeline__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.timeline__body p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding: 5rem 5vw;
  text-align: center;
  background: var(--mist);
}

.not-found__inner {
  width: min(620px, 100%);
}

.not-found h1 {
  margin: 0;
  font-size: 4rem;
  letter-spacing: 0;
}

.not-found p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 42px 42px, 42px 42px;
  }
}

@keyframes systemOrbit {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes systemDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-14px, 10px, 0) scale(1.04);
  }
}

@keyframes fieldFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes dotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.82;
  }

  50% {
    transform: translate3d(18px, -16px, 0);
    opacity: 1;
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(var(--float-x, 6px), var(--float-y, -8px), 0);
  }
}

@keyframes nodeSheen {
  0%,
  38% {
    transform: translateX(-140%);
  }

  58%,
  100% {
    transform: translateX(140%);
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    gap: 0.1rem;
    font-size: 0.86rem;
  }

  .site-nav a {
    padding: 0.45rem 0.45rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 70svh;
  }

  .hero__system {
    display: none;
  }

  .hero__content {
    align-self: center;
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__lede {
    font-size: 1.06rem;
  }

  .section {
    padding: 4.5rem 5vw;
  }

  .section-heading,
  .contact-panel,
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2rem;
  }

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

@media (max-width: 1100px) {
  .hero__system {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 1rem;
  }

  .site-nav .optional-nav {
    display: none;
  }

  .hero__actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .signal-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .signal-list li {
    min-width: 0;
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

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

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