:root {
  --black: #0b0b0b;
  --black-2: #151515;
  --white: #ffffff;
  --paper: #f7f4ea;
  --yellow: #ffd400;
  --yellow-2: #f5b900;
  --ink-60: rgba(11, 11, 11, 0.6);
  --ink-12: rgba(11, 11, 11, 0.12);
  --light-12: rgba(255, 255, 255, 0.12);
  --light-70: rgba(255, 255, 255, 0.7);
  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --radius: 28px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-display);
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--yellow);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(0,0,0,.08);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); }

.brand { display: inline-flex; align-items: center; gap: 10px; padding-left: 6px; }
.brand span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand strong { font-size: 15px; letter-spacing: -.04em; }
.brand-logo { display: block; height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--ink-60);
  font-size: 14px;
  font-weight: 700;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: var(--black); color: var(--white); }
.nav .nav-cta { background: var(--yellow); color: var(--black); }

.menu-button { display: none; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--black); color: var(--white); }
.menu-button span { width: 16px; height: 2px; background: currentColor; display: block; }
.menu-button em { font-style: normal; font-size: 13px; font-weight: 700; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 0;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.orb { position: absolute; border-radius: 999px; filter: blur(20px); opacity: .88; }
.orb-one { width: 46vw; height: 46vw; background: var(--yellow); top: -18vw; right: -12vw; }
.orb-two { width: 28vw; height: 28vw; border: 1px solid var(--yellow); bottom: 14vw; left: -12vw; }

.hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  align-items: end;
  gap: 52px;
}
.eyebrow, .section-kicker {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1, h2, h3 { letter-spacing: -.07em; line-height: .92; }
h1 { font-size: clamp(62px, 11vw, 164px); max-width: 980px; }
h1 span, h2 span { color: var(--yellow); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.05em; }
.hero-lead {
  max-width: 660px;
  margin-top: 28px;
  color: var(--light-70);
  font-size: clamp(17px, 1.7vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--yellow); color: var(--black); box-shadow: 0 18px 50px rgba(255,212,0,.28); }
.button-ghost { border: 1px solid var(--light-12); color: var(--white); }
.button-xl { min-height: 66px; padding: 0 34px; font-size: 16px; }

.signal-board {
  position: relative;
  min-height: 510px;
  padding: 24px;
  border: 1px solid var(--light-12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 40px 120px rgba(0,0,0,.28);
  transform: perspective(1000px) rotateX(3deg) rotateY(-5deg);
  overflow: hidden;
}
.signal-board.float-card { animation: boardFloat 6s ease-in-out infinite; }
.signal-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 212, 0, .08) 48%, transparent 100%);
  opacity: .8;
}
.scan-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-14deg);
  animation: scanShine 2.6s linear infinite;
  pointer-events: none;
}
.signal-top { display: flex; align-items: center; gap: 8px; color: var(--light-70); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.signal-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.metric-large { margin: 90px 0 28px; }
.metric-large small, .signal-grid small { display: block; color: var(--light-70); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.metric-large .metric-value { display: block; font-size: clamp(72px, 8vw, 112px); line-height: .85; color: var(--yellow); letter-spacing: -.1em; }
.signal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.signal-grid div { padding: 18px; border: 1px solid var(--light-12); border-radius: 18px; }
.signal-grid .metric-value { display: block; margin-top: 12px; font-size: 32px; }
.pulse-line { height: 4px; margin-top: 28px; background: rgba(255,255,255,.10); border-radius: 99px; overflow: hidden; }
.pulse-line span { display: block; height: 100%; width: 46%; background: var(--yellow); border-radius: inherit; animation: pulseLine 2.4s infinite var(--ease); }

@keyframes pulseLine { 0% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
@keyframes scanShine { to { left: 120%; } }
@keyframes boardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.marquee { position: relative; z-index: 2; margin-top: 80px; padding: 24px 0; border-top: 1px solid var(--light-12); overflow: hidden; }
.marquee div { display: flex; width: max-content; gap: 38px; animation: marquee 24s linear infinite; }
.marquee span { color: var(--yellow); font-size: clamp(26px, 5vw, 72px); font-weight: 800; text-transform: uppercase; letter-spacing: -.08em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(76px, 10vw, 140px) 24px; }
.section-grid, .section-head, .service-stack, .method-panel, .proof-grid, .faq-list, .contact > div, .footer {
  max-width: 1240px;
  margin: 0 auto;
}
.section-grid { display: grid; grid-template-columns: .36fr .64fr; gap: 52px; }
.intro h2, .section-head h2, .method h2, .contact h2 { font-size: clamp(42px, 6.4vw, 92px); }
.intro p:not(.section-kicker), .method-panel > p + h2 + .steps p { color: var(--ink-60); }
.intro p:not(.section-kicker) { margin-top: 24px; max-width: 760px; font-size: 19px; }
.section-head { margin-bottom: 48px; }

.service-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 52%;
  background: radial-gradient(circle, rgba(255,212,0,.22), transparent 68%);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  transform: translateY(18px);
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-10px); border-color: rgba(255,212,0,.95); box-shadow: 0 30px 90px rgba(0,0,0,.12), 0 0 42px rgba(255,212,0,.22); }
.service-card-invert { background: var(--yellow); }
.icon-box { width: 58px; height: 58px; padding: 15px; border: 1px solid currentColor; border-radius: 18px; }
.service-card:hover .icon-box { background: var(--black); color: var(--yellow); box-shadow: 0 0 30px rgba(255,212,0,.34); transform: scale(1.08); }
.service-card > span { position: absolute; top: 30px; right: 30px; color: var(--ink-60); font-size: 13px; font-weight: 800; }
.service-card h3 { margin-top: 120px; font-size: clamp(32px, 3.2vw, 48px); }
.service-card p { margin-top: 18px; color: var(--ink-60); }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
.service-card li { padding: 8px 11px; border: 1px solid var(--ink-12); border-radius: 999px; font-size: 12px; font-weight: 800; }

.lift-card { will-change: transform; }
.lift-card:hover { transform: translateY(-10px); }
.stagger-group [data-reveal]:nth-child(1) { transition-delay: .04s; }
.stagger-group [data-reveal]:nth-child(2) { transition-delay: .14s; }
.stagger-group [data-reveal]:nth-child(3) { transition-delay: .24s; }

.method { background: var(--black); color: var(--white); }
.method-panel { padding: clamp(28px, 5vw, 64px); border: 1px solid var(--light-12); border-radius: calc(var(--radius) + 14px); background: radial-gradient(circle at 80% 20%, rgba(255,212,0,.18), transparent 34%), var(--black-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 54px; background: var(--light-12); border: 1px solid var(--light-12); border-radius: 24px; overflow: hidden; }
.steps .step-card { position: relative; z-index: 2; padding: 24px; background: var(--black); transition: transform .35s var(--ease), background .35s var(--ease); }
.steps .step-card:hover { background: #111; }
.steps .step-title { display: block; color: var(--yellow); font-weight: 800; }
.steps p { margin-top: 12px; color: var(--light-70); font-size: 14px; }
.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  padding: 0 !important;
  z-index: 4;
  background: rgba(255,255,255,.10) !important;
  overflow: hidden;
}
.timeline-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yellow), #fff1a3, var(--yellow));
  box-shadow: 0 0 18px rgba(255,212,0,.75);
  transition: width 2.2s ease-in-out;
}
.timeline-steps.is-visible .timeline-line span { width: 100%; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: var(--radius); background: var(--black); color: var(--white); border: 1px solid transparent; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.proof-card:hover { border-color: rgba(255,212,0,.9); box-shadow: 0 25px 80px rgba(0,0,0,.14), 0 0 40px rgba(255,212,0,.18); }
.proof-card .proof-number { color: var(--yellow); font-size: clamp(62px, 8vw, 110px); line-height: .85; letter-spacing: -.08em; }
.proof-card span { color: var(--light-70); font-weight: 700; }

.faq { background: var(--white); }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--ink-12); border-radius: 20px; padding: 22px; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 16px; color: var(--ink-60); max-width: 820px; }

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: var(--font-display);
}
.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chat-toggle:hover { transform: translateY(-4px); box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.chat-avatar {
  display: block;
  width: 50px;
  height: 50px;
  padding: 6px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--ink-12);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.chat-widget.is-open .chat-panel { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.chat-widget.is-open .chat-toggle { display: none; }
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--black);
  color: var(--white);
}
.chat-header > div { flex: 1; }
.chat-header strong, .chat-header small { display: block; }
.chat-header small { margin-top: 3px; color: var(--light-70); font-size: 12px; }
.chat-header i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #36d66b; box-shadow: 0 0 0 4px rgba(54,214,107,.16); }
.chat-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.chat-close:hover { background: rgba(255,255,255,.18); transform: scale(1.06); }
.chat-messages { display: grid; gap: 10px; max-height: 430px; padding: 18px; overflow-y: auto; background: var(--paper); }
.chat-bubble { max-width: 92%; padding: 12px 14px; border-radius: 18px; font-size: 14px; line-height: 1.35; animation: chatBubbleIn .28s var(--ease) both; }
.chat-bubble.bot { justify-self: start; background: var(--white); border: 1px solid var(--ink-12); border-bottom-left-radius: 5px; }
.chat-bubble.user { justify-self: end; background: var(--yellow); color: var(--black); border-bottom-right-radius: 5px; font-weight: 700; }
.chat-form-bubble { justify-self: start; width: min(100%, 260px); padding: 12px; border: 1px solid var(--ink-12); border-radius: 18px; border-bottom-left-radius: 5px; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.08); animation: chatBubbleIn .28s var(--ease) both; }
.chat-form-bubble label { display: block; margin-bottom: 5px; color: var(--ink-60); font-size: 12px; font-weight: 800; }
.chat-form-bubble input { width: 100%; height: 42px; margin-bottom: 10px; border: 0; border-bottom: 1px solid var(--ink-12); border-radius: 0; color: var(--black); outline: none; font: inherit; font-size: 13px; }
.chat-form-bubble input:focus { border-color: var(--yellow); }
.chat-form-bubble button { width: 100%; min-height: 44px; border-radius: 10px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 800; transition: transform .25s var(--ease), background .25s var(--ease); }
.chat-form-bubble button:hover { transform: translateY(-2px); background: var(--black-2); }
.chat-options { display: grid; gap: 8px; padding: 0 18px 18px; background: var(--paper); }
.chat-options button {
  padding: 12px 14px;
  border: 1px solid var(--ink-12);
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.chat-options button:hover { transform: translateY(-2px); border-color: rgba(255,212,0,.95); background: #fffbea; }
@keyframes chatBubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.contact { padding: clamp(86px, 12vw, 160px) 24px; background: var(--yellow); }
.contact h2 { max-width: 1100px; margin-bottom: 34px; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 24px; color: var(--light-70); background: var(--black); max-width: none; }
.footer strong { color: var(--white); }
.footer a { color: var(--yellow); font-weight: 800; }

[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed;
    top: 88px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 30px 90px rgba(0,0,0,.18);
  }
  .nav.is-open { display: flex; }
  .nav a { text-align: center; color: var(--black); }
  .hero-layout, .section-grid, .service-stack, .steps, .proof-grid { grid-template-columns: 1fr; }
  .signal-board { min-height: 420px; transform: none; }
  .signal-board.float-card { animation: none; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 72px; }
}

@media (max-width: 620px) {
  .site-header { inset: 10px 10px auto; border-radius: 24px; }
  .brand { min-width: 0; padding-left: 4px; }
  .brand-logo { height: 34px; max-width: 128px; object-fit: contain; }
  .menu-button { padding: 10px 14px; flex-shrink: 0; }
  .brand strong { display: none; }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(54px, 17vw, 86px); }
  .hero-actions, .button { width: 100%; }
  .orb-one { width: 80vw; height: 80vw; }
  .signal-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  .chat-widget { right: 12px; bottom: 12px; left: 12px; }
  .chat-toggle { width: 100%; justify-content: center; }
  .chat-panel { right: 0; left: 0; width: auto; }
}
