/* ===== Tokens ===== */
@property --c1 { syntax: "<color>"; inherits: true; initial-value: #19c3c2; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #1e5bd8; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #0d2a5c; }

:root {
  --bg: #04080f;
  --bg-2: #07101c;
  --ink: #e8f0f8;
  --muted: #9fb0c3;
  --dim: #6c7f94;
  --teal: #2ec9c8;
  --blue: #3a7bf2;
  --line: rgba(160, 200, 255, 0.12);
  --glass: rgba(14, 26, 44, 0.55);
  --glass-strong: rgba(16, 30, 52, 0.72);
  --c1: #19c3c2;
  --c2: #1e5bd8;
  --c3: #0d2a5c;
  --display: "Sora", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 18px;
  transition: --c1 1.4s ease, --c2 1.4s ease, --c3 1.4s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: #fff; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; font-weight: 600; margin-bottom: 26px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 600; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.grad {
  background: linear-gradient(100deg, #7ff3ee 0%, var(--teal) 40%, #5b9bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

/* ===== Background ===== */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--bg-2), var(--bg) 70%); }
.bg-aurora { position: absolute; inset: -20%; filter: blur(90px); opacity: .55; }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 52vw; height: 52vw; left: 52%; top: 0%; background: radial-gradient(circle, var(--c1), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 60vw; height: 60vw; left: 0%; top: 30%; background: radial-gradient(circle, var(--c2), transparent 65%); opacity: .8; animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 46vw; height: 46vw; left: 40%; top: 62%; background: radial-gradient(circle, var(--c3), transparent 65%); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-14vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(12vw, -8vh) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vw, -14vh) scale(1.15); } }

.bg-grid {
  position: absolute; inset: -100px 0 -100px 0;
  background-image:
    linear-gradient(rgba(140, 190, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  transform: translate3d(0, var(--grid-y, 0px), 0);
  will-change: transform;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(2, 5, 10, .75) 100%); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4, 9, 17, 0.72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.24em; color: #fff; }
.brand-sub { font-family: var(--display); font-weight: 500; font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--teal); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
  color: #fff; padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(46, 201, 200, 0.5); background: rgba(46, 201, 200, 0.08);
}
.nav .nav-cta:hover { background: rgba(46, 201, 200, 0.2); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--blue)); }

/* ===== Buttons ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
}
.btn-primary { color: #04121a; background: linear-gradient(100deg, #6ff0ea, var(--teal) 45%, #4c8ef7); box-shadow: 0 10px 30px -10px rgba(46, 201, 200, .6); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(46, 201, 200, .8); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--teal); background: rgba(46, 201, 200, .08); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; flex: 1; }
.lede { font-size: 19.5px; color: var(--muted); max-width: 58ch; margin: 0 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: end; width: 100%; }
.hero-mark { position: absolute; inset: 0; width: 100%; height: 100%; animation: float 9s ease-in-out infinite; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
@keyframes float { 50% { translate: 0 -14px; } }
.orbits { position: absolute; inset: -8%; width: 116%; height: 116%; overflow: visible; }
.orbits circle { fill: none; stroke: rgba(46, 201, 200, 0.22); stroke-width: 1; transform-origin: 200px 200px; }
.orbits .o1 { stroke-dasharray: 2 10; animation: spin 60s linear infinite; }
.orbits .o2 { stroke: rgba(90, 150, 255, 0.16); stroke-dasharray: 60 30 4 30; animation: spin 90s linear infinite reverse; }
.orbits .o3 { stroke: rgba(46, 201, 200, 0.12); }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker {
  margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: rgba(4, 10, 20, .35); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track span {
  font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: 20px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px;
}
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 130px 0; position: relative; }
.section-tight { padding: 90px 0 110px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-sub { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 62ch; }

/* ===== Glass panels with light ===== */
.glass {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --a: 0;
  position: relative; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22, 40, 66, .62), rgba(8, 16, 30, .58));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s ease, box-shadow .4s ease;
  isolation: isolate;
}
/* cursor light */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(46, 201, 200, calc(.20 * var(--a))), transparent 45%),
    radial-gradient(260px circle at var(--mx) var(--my), rgba(110, 160, 255, calc(.16 * var(--a))), transparent 60%);
  transition: opacity .4s ease;
}
/* refracted edge highlight */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg) at var(--mx) var(--my),
    rgba(46,201,200,0), rgba(46,201,200,.9), rgba(120,170,255,.8), rgba(190,140,255,.5), rgba(46,201,200,0) 40%, rgba(46,201,200,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: calc(var(--a) * .9);
  transition: opacity .4s ease;
}
.glass.is-hover { border-color: rgba(46, 201, 200, .28); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(46,201,200,.06), 0 20px 60px -30px rgba(46, 201, 200, .35); }

/* Credentials */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cred { padding: 34px 30px 32px; min-height: 230px; }
.cred-big {
  display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; margin-bottom: 22px;
  background: linear-gradient(100deg, #fff 10%, #9ff4ef 50%, #79a8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cred h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.cred p { margin: 0; color: var(--muted); font-size: 16px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(46,201,200,.35), transparent 60%), linear-gradient(135deg, #0c2340, #071222);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05) brightness(.8); transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 28, .05) 30%, rgba(8, 16, 30, .95) 100%), linear-gradient(135deg, rgba(46, 201, 200, .22), rgba(58, 123, 242, .18)); mix-blend-mode: normal; }
.svc.is-hover .svc-media img { transform: scale(1.09); filter: saturate(.95) contrast(1.05) brightness(.9); }
.svc-body { padding: 4px 28px 30px; margin-top: -26px; position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.svc-num { font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--teal); letter-spacing: .16em; margin-bottom: 10px; }
.svc h3 { font-size: 20px; margin-bottom: 12px; }
.svc p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; font-weight: 500; color: #cfe3f5; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(46, 201, 200, .25); background: rgba(46, 201, 200, .07); }
.tags-lg { margin-top: 26px; }
.tags-lg li { font-size: 13.5px; padding: 8px 14px; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.mode { display: flex; gap: 18px; padding: 26px 26px; align-items: flex-start; }
.mode h3 { font-size: 17px; margin-bottom: 6px; }
.mode p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; flex: none; padding: 10px; border-radius: 12px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(46, 201, 200, .1); border: 1px solid rgba(46, 201, 200, .25); }

/* Approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--steps-progress, 0)); transition: transform .2s linear; box-shadow: 0 0 12px var(--teal); }
.step { position: relative; padding-top: 34px; }
.step-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); box-shadow: 0 0 0 5px rgba(46, 201, 200, .1), 0 0 16px rgba(46, 201, 200, .6); z-index: 1; }
.step-num { display: block; font-family: var(--display); font-size: 12.5px; color: var(--teal); letter-spacing: .16em; font-weight: 600; margin-bottom: 6px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 52px; align-items: start; }
.about-side { text-align: center; }
.portrait { position: relative; width: 190px; height: 190px; margin: 0 auto 22px; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--bg); z-index: 1; }
.portrait-ring { position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 0deg, var(--teal), var(--blue), #7b6cf6, var(--teal)); animation: spin 8s linear infinite; filter: drop-shadow(0 0 18px rgba(46, 201, 200, .35)); }
.about-name { font-size: 28px; }
.role { font-family: var(--display); color: var(--teal); font-weight: 500; font-size: 14.5px; letter-spacing: .04em; margin: 6px 0 24px; }
.badges { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.badges li { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 2px; }
.badges strong { font-family: var(--display); font-size: 14px; font-weight: 600; color: #fff; }
.badges span { font-size: 12.5px; color: var(--dim); }
.about-text { padding-top: 6px; }
.about-lead { font-family: var(--display); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.35; color: #fff; margin: 0 0 22px; font-weight: 500; }
.about-text > p:not(.eyebrow):not(.about-lead) { color: var(--muted); margin: 0 0 16px; font-size: 17px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 56px; align-items: center; }
.contact h2 { max-width: 16ch; }
.contact-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-left: 40px; border-left: 1px solid var(--line); }
.contact-email { font-family: var(--display); font-size: clamp(18px, 2vw, 23px); font-weight: 600; color: #fff; text-decoration: none; word-break: break-all; background: linear-gradient(90deg, var(--teal), var(--blue)) left bottom / 0 2px no-repeat; transition: background-size .4s ease; padding-bottom: 4px; }
.contact-email:hover { background-size: 100% 2px; }
.contact-loc { margin: 0 0 8px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(3, 7, 13, .6); backdrop-filter: blur(8px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; color: var(--dim); font-size: 13.5px; }
.footer-inner p { margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; font-size: 12.5px; }
.footer-brand img { width: 32px; height: 32px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.glass.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .cred-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .about { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .contact { grid-template-columns: 1fr; padding: 40px; }
  .contact-side { padding-left: 0; border-left: 0; padding-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 66px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 200px; justify-self: start; margin-bottom: -10px; }
  .lede { font-size: 17.5px; }
  .ticker { margin-top: 56px; }
  .section { padding: 88px 0; }
  .cred-grid, .svc-grid { grid-template-columns: 1fr; }
  .cred { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .about, .contact { padding: 28px 22px; }
  .portrait { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
