:root {
  color-scheme: dark;
  --ink: #061a3a;
  --ink-soft: #0b2b61;
  --navy: #103b7a;
  --blue: #0b57d0;
  --cyan: #8cb4f5;
  --white: #f7faff;
  --muted: #afc2de;
  --line: rgba(164, 190, 228, 0.24);
  --max-width: 1220px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.25rem;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); overflow-x: hidden; }
body { margin: 0; background: linear-gradient(180deg, #061a3a 0%, #08234d 45%, #061a3a 100%) fixed; color: var(--white); font-size: 1rem; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.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; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 100; max-width: var(--max-width); margin: 0 auto; padding: 1.4rem var(--pad); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .82rem; overflow: hidden; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 1rem; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; font-size: .9rem; color: #dbe7f8; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: white; }
.nav-cta { padding: .68rem 1rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu-button { display: none; border: 0; background: none; width: 2.5rem; height: 2.5rem; padding: .7rem; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--white); margin: .35rem 0; }

.hero { position: relative; min-height: 820px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(3rem, 7vw, 8rem); max-width: var(--max-width); margin: 0 auto; padding: 9rem var(--pad) 5rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 42rem; height: 42rem; right: -17rem; top: -9rem; background: radial-gradient(circle, rgba(31,101,214,.38), transparent 64%); filter: blur(8px); z-index: -2; }
.hero-grid { position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -3; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black 20%, transparent 95%); }
.eyebrow, .section-number { margin: 0 0 1.4rem; color: var(--cyan); font-size: .78rem; line-height: 1.2; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 1.2rem rgba(140,180,245,.75); }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.7rem, 7.3vw, 7.4rem); line-height: .92; letter-spacing: -.045em; font-weight: 730; }
h1 span { color: #79a9f7; }
.hero-copy { max-width: 660px; margin: 2rem 0 0; color: #d0dced; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: .85rem 1.35rem; border-radius: 999px; font-size: .95rem; font-weight: 700; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 .8rem 2.4rem rgba(11,87,208,.35); }
.button-primary:hover { background: #246bdc; }
.button-secondary { border: 1px solid rgba(255,255,255,.3); color: white; }
.button-secondary:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.05); }

.hero-proof { align-self: center; position: relative; padding: 2rem; border: 1px solid rgba(180,205,242,.25); border-radius: 1.6rem; background: linear-gradient(145deg, rgba(13,57,123,.94), rgba(6,26,58,.9)); box-shadow: 0 2rem 7rem rgba(3,19,45,.42); backdrop-filter: blur(14px); }
.proof-kicker { margin: 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.proof-statement { margin: .55rem 0 0; max-width: 350px; font-size: 1.38rem; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; }
.signal-map { position: relative; height: 250px; margin: 1.5rem 0; }
.signal-map::before, .signal-map::after { content: ""; position: absolute; inset: 50% 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(140,180,245,.78), transparent); transform-origin: center; }
.signal-map::after { transform: rotate(90deg); }
.signal-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 6.8rem; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4c8eea, #124a9f 70%); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 0 3.5rem rgba(11,87,208,.42); font-weight: 750; font-size: .85rem; }
.signal-node { position: absolute; display: grid; place-items: center; min-width: 4.7rem; height: 2.25rem; padding: 0 .8rem; border: 1px solid rgba(180,205,242,.28); border-radius: 999px; background: #0d326a; color: #e2ecfa; font-size: .72rem; font-weight: 650; }
.node-one { left: 0; top: 50%; transform: translateY(-50%); }
.node-two { right: 0; top: 50%; transform: translateY(-50%); }
.node-three { left: 50%; top: 0; transform: translateX(-50%); }
.node-four { left: 50%; bottom: 0; transform: translateX(-50%); }
.proof-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.proof-meta div { display: flex; gap: .55rem; align-items: baseline; }
.proof-meta strong { font-size: 1.25rem; color: var(--cyan); }
.proof-meta span { color: var(--muted); font-size: .74rem; line-height: 1.3; }

.proof-strip { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad) 5rem; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); color: #c4d2e6; font-size: .83rem; }
.proof-strip p { margin: 0; padding: .8rem 1.25rem; border-left: 1px solid var(--line); }
.proof-strip p:last-child { border-right: 1px solid var(--line); }

.section { max-width: var(--max-width); margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.section-intro { display: grid; grid-template-columns: minmax(0, .85fr) 1.15fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; margin-bottom: 4rem; }
.section-intro .section-number { grid-column: 1 / -1; margin-bottom: -1rem; }
h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.058em; font-weight: 700; }
.section-intro > p:last-child, .experience-heading > p { margin: 0 0 .4rem; color: var(--muted); font-size: 1.08rem; max-width: 510px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-card { position: relative; min-height: 410px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #082653; overflow: hidden; }
.capability-card::after { content: ""; position: absolute; left: 2rem; right: 2rem; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), transparent); opacity: .35; }
.featured-card { background: linear-gradient(155deg, #11458f, #0a2d61 70%); transform: translateY(-1.25rem); }
.featured-card::after { opacity: 1; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.card-index { color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.capability-card h3 { margin: 4.5rem 0 1rem; font-size: 1.55rem; letter-spacing: -.035em; }
.capability-card p { color: #d4dfef; margin: 0 0 1.6rem; }
.capability-card ul { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; }
.capability-card li { position: relative; padding: .45rem 0 .45rem 1rem; border-top: 1px solid rgba(255,255,255,.07); }
.capability-card li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .3rem; height: .3rem; border-radius: 50%; background: var(--cyan); }

.case-study-section { max-width: none; padding-left: max(var(--pad), calc((100vw - var(--max-width)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max-width)) / 2 + var(--pad))); background: #eef4fd; color: #0d2445; }
.case-study-header { max-width: var(--max-width); margin: 0 auto 3.5rem; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; }
.case-study-section .section-number { color: #0b57d0; }
.case-label { margin: 0 0 1rem; color: #2f5f9d; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.case-study-header h2 { max-width: 780px; }
.case-summary { margin: 0; color: #506379; font-size: 1.03rem; }
.product-frame { max-width: var(--max-width); margin: 0 auto; border-radius: 1.2rem; overflow: hidden; border: 1px solid #c7d8ef; background: white; box-shadow: 0 2.5rem 7rem rgba(24,71,137,.2); }
.product-image-frame { max-width: var(--max-width); margin: 0 auto; border-radius: 1.2rem; overflow: hidden; border: 1px solid #c7d8ef; background: white; box-shadow: 0 2.5rem 7rem rgba(24,71,137,.2); }
.product-image-frame img { display: block; width: 100%; height: auto; }
.product-topbar { height: 4rem; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; background: #082a5f; color: #c4d5ec; font-size: .72rem; }
.product-brand { display: flex; gap: .6rem; align-items: center; color: white; font-size: .85rem; font-weight: 700; }
.product-brand span { width: 1.5rem; height: 1.5rem; border-radius: .45rem; background: linear-gradient(145deg, #0b57d0, #8cb4f5); }
.product-layout { min-height: 470px; display: grid; grid-template-columns: 74px 1fr; }
.product-nav { background: #0a326e; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding-top: 2rem; }
.product-nav span { width: 1.5rem; height: .42rem; border-radius: 1rem; background: #42536a; }
.product-nav span.active { background: var(--cyan); }
.product-canvas { padding: clamp(1.5rem, 4vw, 3.5rem); background: #f8fafc; }
.canvas-heading { display: flex; justify-content: space-between; align-items: center; }
.canvas-heading div { display: flex; flex-direction: column; }
.canvas-heading span, .metric-row span, .chart-panel > span, .activity-panel > span { color: #66788e; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.canvas-heading strong { font-size: 1.55rem; letter-spacing: -.03em; }
.canvas-heading i { font-style: normal; padding: .38rem .65rem; border-radius: 999px; background: #e1ecff; color: #174f9e; font-size: .68rem; font-weight: 700; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.metric-row div { padding: 1.2rem; background: white; border: 1px solid #e1e7ee; border-radius: .8rem; }
.metric-row strong { display: block; margin: .3rem 0 0; font-size: 1.75rem; letter-spacing: -.04em; }
.metric-row small { color: #77899b; }
.canvas-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; }
.chart-panel, .activity-panel { min-height: 190px; padding: 1.2rem; background: white; border: 1px solid #e1e7ee; border-radius: .8rem; }
.bars { height: 125px; display: flex; gap: .55rem; align-items: end; padding-top: 1rem; }
.bars i { flex: 1; border-radius: .3rem .3rem 0 0; background: linear-gradient(to top, #0b57d0, #86aef0); }
.bars i:nth-child(1) { height: 40%; }.bars i:nth-child(2) { height: 55%; }.bars i:nth-child(3) { height: 48%; }.bars i:nth-child(4) { height: 70%; }.bars i:nth-child(5) { height: 64%; }.bars i:nth-child(6) { height: 84%; }.bars i:nth-child(7) { height: 92%; }
.activity-panel p { display: flex; align-items: center; gap: .7rem; margin: .9rem 0; padding-top: .7rem; border-top: 1px solid #edf0f4; color: #475a70; font-size: .82rem; }
.activity-panel i { width: .55rem; height: .55rem; border-radius: 50%; background: #3574d4; box-shadow: 0 0 0 4px #e4edfb; }
.case-details { max-width: var(--max-width); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.case-details span { color: #0b57d0; font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.case-details p { margin: .6rem 0 0; color: #506379; }

.compact-intro { grid-template-columns: 1fr; max-width: 900px; }
.approach-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.approach-list li { display: grid; grid-template-columns: .25fr 1.75fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.approach-list > li > span { color: var(--cyan); font-size: .8rem; font-weight: 700; }
.approach-list div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: baseline; }
.approach-list h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.approach-list p { margin: 0; color: var(--muted); max-width: 580px; }

.experience-section { border-top: 1px solid var(--line); }
.experience-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.experience-heading .section-number { margin-bottom: 1.2rem; }
.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: .42fr .78fr 1fr; gap: 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--cyan); font-size: .82rem; font-weight: 700; }
.timeline h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.timeline div p { margin: .2rem 0 0; color: #8fa0b5; font-size: .8rem; }
.timeline article > p { margin: 0; color: var(--muted); font-size: .92rem; }
.toolkit { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 3rem; }
.toolkit span { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: #c4cfdd; font-size: .78rem; }

.contact-section { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 9rem) max(var(--pad), calc((100vw - var(--max-width)) / 2 + var(--pad))); background: #0a4aa7; color: white; }
.contact-section::after { content: ""; position: absolute; width: 40rem; height: 40rem; right: -12rem; bottom: -24rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 6rem rgba(255,255,255,.04), 0 0 0 12rem rgba(255,255,255,.025); }
.contact-section .section-number { color: #d7faff; }
.contact-grid { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 5rem; align-items: end; }
.contact-grid h2 { max-width: 850px; }
.contact-grid p { margin: 0 0 1.4rem; font-size: 1.1rem; color: #e3ebff; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; }
.button-light { background: white; color: #0b4ca9; }
.text-link { padding-bottom: .2rem; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 650; }

footer { max-width: var(--max-width); margin: 0 auto; padding: 2rem var(--pad); display: flex; justify-content: space-between; color: #7f90a5; font-size: .78rem; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.5rem; }
footer a:hover { color: white; }

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .menu-button { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding: 5rem 2rem; background: rgba(6,26,58,.985); font-size: 1.2rem; transform: translateY(-105%); transition: transform .28s ease; }
  .main-nav.open { transform: translateY(0); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-proof { max-width: 560px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip p:nth-child(2) { border-right: 1px solid var(--line); }
  .proof-strip p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-intro, .case-study-header, .experience-heading, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .featured-card { transform: none; }
  .capability-card { min-height: 0; }
  .capability-card h3 { margin-top: 2.8rem; }
  .case-details { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: .35fr 1fr; }
  .timeline article > p { grid-column: 2; }
}

@media (max-width: 640px) {
  .brand-name { display: none; }
  .hero { padding-bottom: 4rem; }
  h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero-actions .button { width: 100%; }
  .hero-proof { padding: 1.4rem; }
  .proof-meta { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; padding-bottom: 3.5rem; }
  .proof-strip p, .proof-strip p:nth-child(2) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .proof-strip p:first-child { border-top: 0; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .product-topbar > span { display: none; }
  .product-layout { grid-template-columns: 42px 1fr; min-height: 0; }
  .product-canvas { padding: 1rem; }
  .canvas-heading { align-items: flex-start; }
  .canvas-heading i { display: none; }
  .metric-row { grid-template-columns: 1fr; }
  .canvas-grid { grid-template-columns: 1fr; }
  .activity-panel { min-height: auto; }
  .approach-list li { grid-template-columns: 2.2rem 1fr; gap: 1rem; }
  .approach-list div { grid-template-columns: 1fr; gap: .5rem; }
  .timeline article { grid-template-columns: 1fr; gap: .7rem; }
  .timeline article > p { grid-column: auto; }
  footer { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
