:root {
  --ink: #0c0b09;
  --ink-soft: #171510;
  --paper: #f4f1e9;
  --white: #fffef9;
  --gold: #e0af00;
  --gold-bright: #f4c419;
  --muted: #706d64;
  --line: rgba(12, 11, 9, 0.14);
  --dark-line: rgba(255, 255, 255, 0.14);
  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--gold); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  color: white;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled { height: 68px; background: rgba(12, 11, 9, .94); border-color: var(--dark-line); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 188px; height: 62px; display: flex; align-items: center; }
.brand img { width: 184px; height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.nav-cta) { color: #d8d5cd; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--gold-bright); }
.nav-cta { padding: 11px 17px; color: var(--ink); background: var(--gold-bright); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--ink);
  padding: 145px 0 90px;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-glow { position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .12; }
.hero-glow-one { background: var(--gold); top: -260px; right: 5%; }
.hero-glow-two { background: #b86b26; bottom: -360px; left: 15%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 26px; color: #c7c3b9; font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 28px; height: 2px; background: var(--gold); }
.eyebrow.dark { color: #77736a; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { margin: 0; max-width: 720px; font-size: clamp(52px, 6vw, 82px); line-height: .99; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--gold-bright); font-style: normal; }
.hero-lede { max-width: 650px; margin: 30px 0 0; color: #bab6ac; font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; padding: 0 22px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button-primary { color: var(--ink); background: var(--gold-bright); }
.button-primary:hover { background: #ffd64f; }
.button-light { color: var(--ink); background: white; margin-top: 22px; }
.text-link { color: white; font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid #7b776e; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: #8d8980; font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ed89d; box-shadow: 0 0 0 5px rgba(110,216,157,.1); }

.hero-visual { position: relative; min-width: 0; }
.signal-card { position: relative; z-index: 2; padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)); box-shadow: 0 40px 100px rgba(0,0,0,.4); backdrop-filter: blur(20px); }
.signal-topline { display: flex; justify-content: space-between; color: #a7a39a; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.live-chip { color: #87e2ac; border: 1px solid rgba(135,226,172,.25); padding: 4px 8px; border-radius: 99px; }
.signal-value { margin-top: 20px; font-family: "Manrope"; font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.04em; }
.signal-chart { height: 190px; margin: 18px -6px 0; }
.signal-chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--gold-bright); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(244,196,25,.42)); }
.signal-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.signal-metrics div { display: flex; flex-direction: column; gap: 4px; }
.signal-metrics strong { font-size: 14px; }
.signal-metrics span { color: #858178; font-size: 11px; }
.orbit { position: absolute; border: 1px solid rgba(224,175,0,.22); border-radius: 50%; }
.orbit-one { width: 340px; height: 340px; right: -110px; top: -90px; }
.orbit-two { width: 180px; height: 180px; left: -80px; bottom: -70px; }

.trust-strip { background: var(--gold); padding: 18px 0; }
.trust-row { display: flex; justify-content: center; align-items: center; gap: 26px; color: #2b240d; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trust-row a { position: relative; padding-block: 3px; }
.trust-row a::after { content: ""; position: absolute; left: 0; right: .12em; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.trust-row a:hover::after, .trust-row a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.trust-row i { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.45); }
.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: end; margin-bottom: 60px; }
.section-heading h2, .approach h2, .about h2, .contact h2 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.platforms { padding: 94px 0 100px; background: var(--white); border-bottom: 1px solid var(--line); }
.platforms-heading { display: grid; grid-template-columns: 250px 1fr; gap: 70px; align-items: start; margin-bottom: 48px; }
.platforms-heading h2 { max-width: 820px; margin: -8px 0 0; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.platform-card { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 26px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.platform-card:hover { z-index: 1; background: #faf8f2; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(12,11,9,.08); }
.platform-card:focus-visible { z-index: 2; outline: 3px solid rgba(224,175,0,.55); outline-offset: -3px; }
.platform-card img { width: 48px; height: 48px; object-fit: contain; }
.platform-card span { color: #49463f; font-size: 13px; font-weight: 700; text-align: center; }
.brand-note { margin: 18px 0 0; color: #89857c; font-size: 11px; line-height: 1.5; }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 510px; padding: 42px 34px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: var(--white); transform: translateY(-6px); }
.card-number { position: absolute; top: 25px; right: 28px; color: #99958c; font: 600 12px "Manrope"; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 68px 0 28px; color: var(--ink); background: var(--gold); border-radius: 50%; }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-card h3 { margin: 0 0 18px; font-size: 26px; letter-spacing: -.03em; }
.service-card p { min-height: 78px; color: var(--muted); line-height: 1.6; }
.service-card ul { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.service-card li { padding: 6px 0; font-size: 14px; font-weight: 600; }
.service-card li::before { content: "+"; margin-right: 10px; color: #a77f00; }

.approach { color: white; background: var(--ink-soft); }
.approach-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 100px; }
.approach-copy { position: sticky; top: 120px; align-self: start; }
.approach-copy > p:not(.eyebrow) { color: #aaa69c; font-size: 17px; line-height: 1.75; max-width: 500px; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--dark-line); }
.process-list li { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 34px 6px; border-bottom: 1px solid var(--dark-line); }
.process-list > li > span { color: var(--gold); font: 700 12px "Manrope"; }
.process-list h3 { margin: -7px 0 8px; font-size: 28px; }
.process-list p { margin: 0; color: #9e9a91; line-height: 1.6; }

.work { background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.work-card { border: 1px solid var(--line); background: white; }
.work-visual { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; }
.visual-ai { background: #17150f; }
.visual-data { background: #e5b900; }
.visual-label { position: absolute; top: 22px; left: 22px; padding: 7px 10px; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font-size: 11px; }
.mini-window { width: 65%; padding: 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.mini-window > i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--gold); }
.mini-lines { margin-top: 34px; }
.mini-lines b { display: block; height: 11px; margin: 13px 0; background: rgba(255,255,255,.14); border-radius: 4px; }
.mini-lines b:nth-child(2) { width: 76%; background: rgba(224,175,0,.65); }
.mini-lines b:nth-child(3) { width: 45%; }
.bar-chart { height: 190px; display: flex; align-items: end; gap: 13px; padding: 25px 34px; border-bottom: 2px solid rgba(0,0,0,.4); }
.bar-chart i { width: 34px; height: 30%; background: #17150f; }
.bar-chart i:nth-child(2) { height: 48%; }.bar-chart i:nth-child(3) { height: 42%; }.bar-chart i:nth-child(4) { height: 72%; }.bar-chart i:nth-child(5) { height: 94%; }
.work-body { padding: 30px; }
.work-body > p { margin: 0 0 12px; color: #9b7600; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.work-body h3 { margin: 0 0 24px; max-width: 500px; font-size: 25px; line-height: 1.35; }
.work-body span { color: var(--muted); font-size: 13px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }
.about-mark { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.mark-left, .mark-right { width: 160px; height: 300px; }
.mark-left { border: 36px solid var(--ink); border-right: 0; border-radius: 160px 0 0 160px; }
.mark-right { border: 36px solid var(--gold); border-left: 0; border-radius: 0 160px 160px 0; }
.about-copy .large-copy { margin-top: 32px; font-size: 22px; line-height: 1.65; color: #37342e; }
.about-copy > p:last-child { color: var(--muted); line-height: 1.75; }

.contact { padding: 120px 0; color: white; background: #11100d; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: #aaa69c; font-size: 18px; line-height: 1.7; }
.direct-contact { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.direct-contact span { color: #767269; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.direct-contact a { color: var(--gold-bright); font-size: 21px; font-weight: 700; }
.contact-form { padding: 38px; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 20px; font-size: 13px; font-weight: 700; }
.contact-form label span { color: #99958c; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 8px; border: 1px solid #d8d4ca; border-radius: 8px; background: #faf8f2; outline: 0; transition: border .2s, box-shadow .2s; }
.contact-form input { height: 48px; padding: 0 13px; }
.contact-form textarea { padding: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #b68d00; box-shadow: 0 0 0 3px rgba(224,175,0,.14); }
.form-note { margin: 14px 0 0; color: #88847b; font-size: 12px; }

.site-footer { color: #aaa69c; background: #090806; border-top: 1px solid var(--dark-line); }
.footer-top { min-height: 180px; display: grid; grid-template-columns: 200px 1fr auto; gap: 50px; align-items: center; }
.footer-brand { width: 210px; height: auto; }
.footer-brand img { width: 205px; }
.footer-top p { max-width: 380px; }
.footer-top nav { display: flex; gap: 24px; font-size: 13px; font-weight: 600; }
.footer-top a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--dark-line); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: rgba(12,11,9,.98); border-bottom: 1px solid var(--dark-line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 680px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .platforms-heading { grid-template-columns: 1fr; gap: 14px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 70px; }
  .approach-copy { position: static; }
  .about-mark { height: 300px; }
  .mark-left, .mark-right { width: 120px; height: 230px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 45px 0; }
  .footer-top nav { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 120px; }
  h1 { font-size: clamp(47px, 14vw, 66px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .signal-card { padding: 20px; }
  .signal-chart { height: 140px; }
  .signal-metrics { grid-template-columns: 1fr; }
  .trust-row { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .section { padding: 86px 0; }
  .platforms { padding: 74px 0 80px; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platform-card { min-height: 132px; }
  .section-heading { margin-bottom: 42px; }
  .service-card { padding: 30px 24px; }
  .service-icon { margin-top: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-visual { min-height: 260px; }
  .about-mark { height: 240px; }
  .mark-left, .mark-right { width: 96px; height: 190px; border-width: 28px; }
  .contact { padding: 86px 0; }
  .contact-form { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-top nav { grid-column: auto; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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