@font-face {
  font-family: 'Geist Pixel';
  src: url('fonts/GeistPixel-Square.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
}

body {
  color: #1d1d1f;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

sup {
  line-height: 0;
}

@keyframes fade-in {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation-name: fade-in;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

/* ---------- hero background image (desktop, fixed) ---------- */

.hero-bg-fixed {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: bottom right;
}

/* ---------- hero image (mobile, inline) ---------- */

.hero-mobile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-mobile img {
  width: 100%;
  height: auto;
  max-height: 45vh;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero-bg-fixed { display: block; }
  .hero-mobile { display: none; }
}

/* ---------- layout ---------- */

.main {
  position: relative;
}

.header,
.hero,
.content {
  position: relative;
  z-index: 10;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .header, .hero, .content {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .header, .hero, .content {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.header { padding-top: 2rem; }
.hero { padding-top: 2rem; }

@media (min-width: 768px) {
  .header { padding-top: 4rem; }
  .hero { padding-top: 4rem; }
}

.content { padding-top: 3.5rem; }

@media (min-width: 768px) {
  .content { padding-top: 7rem; }
}

/* ---------- logo ---------- */

.logo {
  position: relative;
  display: inline-block;
  cursor: default;
  text-decoration: none;
  animation-duration: .8s;
  animation-delay: 0s;
}

.logo-default {
  transition: opacity .5s;
}

.logo:hover .logo-default {
  opacity: 0;
}

.logo-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .5s;
}

.logo:hover .logo-hover {
  opacity: 1;
}

.logo-line {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  color: #86868b;
  text-transform: uppercase;
}

.logo-line--sub {
  color: rgba(134, 134, 139, .6);
}

.logo-hover span {
  font-size: 10px;
  letter-spacing: .3em;
  color: #86868b;
  text-transform: uppercase;
}

.logo-hover sup {
  font-size: 8px;
}

@media (min-width: 768px) {
  .logo-line, .logo-hover span { font-size: 11px; }
}

/* ---------- hero ---------- */

.hero-title {
  margin: 0;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-family: 'Geist Pixel', monospace;
  animation-duration: 1s;
  animation-delay: .2s;
}

@media (min-width: 768px) {
  .hero-title { font-size: clamp(2rem, 5vw, 4rem); }
}

.hero-sub {
  margin: 1.5rem 0 0;
  color: #86868b;
  font-size: 1rem;
  font-weight: 300;
  max-width: 28rem;
  animation-duration: .8s;
  animation-delay: .4s;
}

@media (min-width: 768px) {
  .hero-sub { margin-top: 2rem; font-size: 1.125rem; }
}

/* ---------- content / article ---------- */

.content {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(29, 29, 31, .85);
  font-weight: 300;
}

@media (min-width: 768px) {
  .content { font-size: 17px; }
}

.block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .block { gap: 2rem; }
}

.block p {
  margin: 0;
}

.block.fade-in { animation-duration: .8s; animation-delay: .6s; }

.strong-p {
  color: #1d1d1f;
}

.strong {
  font-weight: 500;
}

.closing {
  color: #1d1d1f;
  font-weight: 500;
}

.block.pb {
  padding-bottom: 1rem;
}

/* ---------- eyebrow labels ---------- */

.eyebrow {
  font-size: 10px;
  letter-spacing: .3em;
  color: #86868b;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .eyebrow { margin-bottom: 2.5rem; }
}

.eyebrow--center { text-align: center; }

@media (min-width: 768px) {
  .eyebrow--center { text-align: left; }
}

/* ---------- orchestrator diagram ---------- */

.diagram-wrap {
  margin: 3.5rem 0;
}

@media (min-width: 768px) {
  .diagram-wrap { margin: 5rem 0; }
}

.diagram {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  color: #1d1d1f;
}

.diagram-svg {
  width: 100%;
  height: auto;
}

.d-ring {
  opacity: 0;
  transition: opacity 1s ease;
}

.d-line {
  opacity: 0;
  transition: opacity .9s ease;
}

.d-node {
  opacity: 0;
  transform: scale(0);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease;
}

.d-center {
  opacity: 0;
  transform: scale(0);
  transition: transform .65s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease;
}

.in-view .d-ring { opacity: 1; }
.in-view .d-line { opacity: 1; }
.in-view .d-node { opacity: 1; transform: scale(1); }
.in-view .d-center { opacity: 1; transform: scale(1); }

.diagram-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.25rem;
  margin-top: 1rem;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #86868b;
  opacity: 0;
  transition: opacity .8s ease;
}

@media (min-width: 768px) {
  .diagram-labels { gap: .5rem 1.75rem; margin-top: 1.5rem; font-size: 10px; }
}

.in-view .diagram-labels { opacity: 1; }

/* ---------- timeline ---------- */

.timeline-wrap {
  margin: 3.5rem 0;
}

@media (min-width: 768px) {
  .timeline-wrap { margin: 5rem 0; }
}

.timeline-container {
  width: 100%;
  max-width: 28rem;
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .375rem;
  bottom: .375rem;
  width: 1px;
  background: rgba(29, 29, 31, .2);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1100ms ease-out;
}

.timeline.in-view::before {
  transform: scaleY(1);
}

.timeline li {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.75rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.node {
  position: absolute;
  left: 0;
  top: .25rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #1d1d1f;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * .08s + .2s);
}

.node.visible { transform: scale(1); }

.dot {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #1d1d1f;
  opacity: 0;
  transition: opacity .4s ease;
  transition-delay: calc(var(--i, 0) * .08s + .45s);
}

.dot.visible { opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i, 0) * .08s + .28s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  margin: 0 0 .25rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 13px;
  color: #86868b;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .step-title { font-size: 16px; }
  .step-desc { font-size: 14px; }
}

/* ---------- footer ---------- */

.bottom-spacer {
  height: 11rem;
}

@media (min-width: 768px) {
  .bottom-spacer { height: 12rem; }
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  pointer-events: none;
}

.footer-inner {
  background: linear-gradient(to top, #fff 60%, rgba(255,255,255,0) 100%);
}

@media (min-width: 768px) {
  .footer-inner { max-width: 50%; }
}

.footer-content {
  padding: 2.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  animation-duration: 1s;
  animation-delay: 1s;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 2.5rem 4rem 2.5rem;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-content { padding-left: 6rem; padding-right: 6rem; }
}

.footer-tagline {
  pointer-events: auto;
  font-size: 12px;
  color: #1d1d1f;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-tagline { font-size: 15px; }
}

.contact-btn {
  pointer-events: auto;
  flex-shrink: 0;
  padding: .5rem 1rem;
  background: #1d1d1f;
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .2s;
  white-space: nowrap;
}

.contact-btn:hover {
  background: #000;
}

@media (min-width: 768px) {
  .contact-btn { padding: .625rem 1.25rem; font-size: 13px; }
}
