:root{--bg:#03101b;--bg2:#061827;--panel:#071d2d;--line:rgba(142,196,231,.19);--text:#f6f9fc;--muted:#b9c9d6;--blue:#238cff;--blue2:#65c8ff;--max:1220px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.62;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}.wrap{width:min(var(--max),calc(100% - 52px));margin:0 auto}.narrow{max-width:1050px}.site-header{position:absolute;z-index:20;top:0;left:0;right:0}.site-header.solid{position:relative;background:#04131f;border-bottom:1px solid var(--line)}.header-inner{height:104px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:block;line-height:0}.brand img{display:block;width:235px;height:auto;max-width:42vw}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 24px;border-radius:999px;background:linear-gradient(135deg,#167cf0,#309bff);color:white;font-weight:650;letter-spacing:.01em;box-shadow:0 10px 30px rgba(0,111,255,.22);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}.button:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(0,119,255,.33);filter:brightness(1.07)}.button-small{min-height:46px;padding:11px 23px}.hero{position:relative;isolation:isolate;min-height:760px;display:flex;align-items:center;overflow:hidden;background:#04111b}.hero-photo,.hero-pulse,.hero-shade{position:absolute;inset:0}.hero-photo{z-index:-4;background:url('hero-bg.jpg') 50% 50%/cover no-repeat}.hero-pulse{z-index:-3;background:url('hero-pulse.png') 50% 50%/cover no-repeat;mix-blend-mode:screen;opacity:.22;animation:trail-pulse 2.8s ease-in-out infinite;will-change:opacity,filter}.hero-shade{z-index:-2;background:radial-gradient(ellipse at 27% 52%,rgba(2,13,23,.32) 0%,rgba(2,13,23,.20) 30%,rgba(2,13,23,.06) 52%,transparent 72%),linear-gradient(0deg,rgba(3,16,27,.46) 0%,rgba(3,16,27,.16) 10%,transparent 24%)}@keyframes trail-pulse{0%,100%{opacity:.28;filter:brightness(1.24) drop-shadow(0 0 4px rgba(70,185,255,.38))}50%{opacity:1;filter:brightness(2.25) drop-shadow(0 0 14px rgba(70,185,255,.92))}}.hero-content{padding:170px 0 110px}.hero h1{max-width:760px;margin:0 0 24px;font-size:clamp(60px,7.4vw,106px);line-height:.94;letter-spacing:-.057em;font-weight:730;text-shadow:0 2px 18px rgba(0,0,0,.38)}.hero p{margin:0;max-width:720px;font-size:clamp(20px,2.05vw,31px);line-height:1.35;color:#d5e0e8;letter-spacing:-.02em;text-shadow:0 2px 14px rgba(0,0,0,.42)}.section{padding:108px 0}.intro-section{background:linear-gradient(180deg,#03101b,#041522)}.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.23em;color:var(--blue2);font-weight:750}.intro-copy{margin-top:28px;max-width:1000px;font-size:clamp(19px,2vw,25px);line-height:1.62;color:#d4e0e8;letter-spacing:-.012em}.intro-copy p{margin:0 0 1.25em}.intro-copy p:last-child{margin-bottom:0}.services-section{padding-top:12px;background:#041522}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{position:relative;min-height:318px;padding:34px 34px 38px;background:linear-gradient(145deg,rgba(8,31,48,.96),rgba(5,23,37,.98));border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .25s ease,border-color .25s ease}.card:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(57,166,255,.15);border-radius:50%;right:-78px;bottom:-82px}.card:hover{transform:translateY(-5px);border-color:rgba(83,190,255,.54)}.card-index{font-size:12px;letter-spacing:.15em;color:#6bc8ff;margin-bottom:45px}.card h2{font-size:clamp(27px,3vw,38px);line-height:1.05;letter-spacing:-.035em;margin:0 0 17px}.card p{font-size:17px;color:#bfd0db;margin:0;max-width:590px}.person-section{background:#03101b;border-top:1px solid var(--line)}.person-grid{display:grid;grid-template-columns:minmax(300px,430px) 1fr;gap:80px;align-items:center}.portrait-wrap{border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#0a1f2e}.portrait-wrap img{display:block;width:100%;height:auto;filter:saturate(.8) contrast(1.02)}.person-copy h2{font-size:clamp(46px,6vw,78px);line-height:1;letter-spacing:-.055em;margin:15px 0 32px}.site-footer{border-top:1px solid var(--line);background:#020c15;color:#8fa6b7}.footer-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}.footer-inner a{color:#c2d3df}.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}
/* contact */.contact-page{padding:74px 0 110px;background:linear-gradient(180deg,#041522,#03101b);min-height:calc(100vh - 196px)}.contact-page h1{font-size:clamp(58px,8vw,100px);line-height:.95;letter-spacing:-.06em;margin:16px 0 54px}.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.contact-card{padding:34px;border-radius:20px;border:1px solid var(--line);background:#071d2d}.contact-card h2{font-size:25px;margin:0 0 16px;color:#6bc8ff}.contact-card h2.subhead{margin-top:30px}.contact-card p{font-size:18px;color:#cad8e2;margin:0 0 15px}.contact-card a{color:#73ccff}.contact-signature{display:flex;align-items:center;gap:18px;width:max-content;max-width:100%;margin:38px 0 28px;padding:18px 0;border-top:1px solid var(--line)}.contact-signature img{width:76px;height:76px;border-radius:50%;object-fit:cover;object-position:center 23%;border:2px solid #3daeff}.contact-signature strong{display:block;font-size:21px;margin-top:3px}.back-link{display:inline-block;color:#9ec7df;margin-top:18px}
@media(max-width:900px){.hero{min-height:690px}.hero-photo,.hero-pulse{background-position:56% 50%}.hero-shade{background:radial-gradient(ellipse at 30% 58%,rgba(2,13,23,.28) 0%,rgba(2,13,23,.16) 34%,rgba(2,13,23,.04) 58%,transparent 76%),linear-gradient(0deg,rgba(3,16,27,.42) 0%,rgba(3,16,27,.14) 13%,transparent 30%)}.cards{grid-template-columns:1fr}.person-grid{grid-template-columns:minmax(260px,370px) 1fr;gap:46px}.contact-cards{grid-template-columns:1fr}}
@media(max-width:680px){.wrap{width:min(var(--max),calc(100% - 34px))}.header-inner{height:82px}.brand img{width:185px;max-width:52vw}.button-small{min-height:42px;padding:9px 17px;font-size:14px}.hero{min-height:650px;align-items:flex-end}.hero-photo,.hero-pulse{background-position:64% center}.hero-photo{filter:brightness(1.28) saturate(1.04)}.hero-shade{background:radial-gradient(ellipse at 32% 76%,rgba(2,13,23,.30) 0%,rgba(2,13,23,.18) 34%,rgba(2,13,23,.05) 58%,transparent 76%),linear-gradient(0deg,rgba(3,16,27,.48) 0%,rgba(3,16,27,.22) 18%,rgba(3,16,27,.05) 44%,transparent 68%)}.hero-content{padding:160px 0 84px}.hero h1{font-size:clamp(53px,15vw,78px);max-width:520px}.hero p{font-size:20px;max-width:480px}.section{padding:78px 0}.intro-copy{font-size:19px}.card{padding:28px;min-height:0}.card-index{margin-bottom:28px}.person-grid{grid-template-columns:1fr;gap:34px}.portrait-wrap{max-width:430px}.person-copy h2{font-size:52px}.footer-inner{min-height:108px;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px}.contact-page{padding-top:52px}.contact-page h1{margin-bottom:38px}.contact-card{padding:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-pulse{animation:none;opacity:.30}.reveal{opacity:1;transform:none;transition:none}.button,.card{transition:none}}

/* Continuous blue trail motif below the hero */
main{position:relative;isolation:isolate}
.page-trail-wrap{position:absolute;z-index:1;top:760px;left:0;right:0;bottom:0;overflow:hidden;pointer-events:none}
.page-trail{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.page-trail-mobile{display:none}
.page-trail path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.page-trail .trail-base{stroke:rgba(52,158,255,.12);stroke-width:1.35}
.page-trail .trail-glow{stroke:rgba(77,187,255,.52);stroke-width:1.65;opacity:.15;filter:drop-shadow(0 0 4px rgba(55,171,255,.38));animation:page-trail-pulse 2.8s ease-in-out infinite}
.intro-section,.services-section,.person-section{position:relative;z-index:auto;background-color:transparent}
.section>.wrap{position:relative;z-index:2}
.intro-section{background:linear-gradient(180deg,rgba(3,16,27,.93),rgba(4,21,34,.91))}
.services-section{background:rgba(4,21,34,.90)}
.person-section{background:rgba(3,16,27,.94)}
.card,.portrait-wrap{position:relative;z-index:3}
@keyframes page-trail-pulse{0%,100%{opacity:.16;filter:drop-shadow(0 0 3px rgba(55,171,255,.28))}50%{opacity:.72;filter:drop-shadow(0 0 10px rgba(55,171,255,.72))}}
@media(max-width:900px){.page-trail-wrap{top:690px}.page-trail-desktop{display:none}.page-trail-mobile{display:block}.page-trail .trail-base{stroke-width:1.15}.page-trail .trail-glow{stroke-width:1.35}.intro-section{background:linear-gradient(180deg,rgba(3,16,27,.95),rgba(4,21,34,.93))}.services-section{background:rgba(4,21,34,.93)}.person-section{background:rgba(3,16,27,.96)}}
@media(max-width:680px){.page-trail-wrap{top:650px}.page-trail .trail-base{stroke:rgba(52,158,255,.14)}.page-trail .trail-glow{stroke:rgba(77,187,255,.52)}}
@media(prefers-reduced-motion:reduce){.page-trail .trail-glow{animation:none;opacity:.22;filter:none}}
.contact-main{position:relative;isolation:isolate;overflow:hidden}.contact-trail{position:absolute;z-index:1;inset:0;pointer-events:none}.contact-trail svg{width:100%;height:100%}.contact-trail path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}.contact-trail .trail-base{stroke:rgba(52,158,255,.13);stroke-width:1.3}.contact-trail .trail-glow{stroke:rgba(77,187,255,.55);stroke-width:1.55;opacity:.16;filter:drop-shadow(0 0 4px rgba(55,171,255,.35));animation:page-trail-pulse 2.8s ease-in-out infinite}.contact-page{position:relative;z-index:auto;background:linear-gradient(180deg,rgba(4,21,34,.95),rgba(3,16,27,.96))}.contact-page>.wrap{position:relative;z-index:2}@media(prefers-reduced-motion:reduce){.contact-trail .trail-glow{animation:none;opacity:.2;filter:none}}

/* Mobile orientation tuning: keep portrait from looking materially darker than landscape. */
@media (max-width:680px) and (orientation:portrait){
  .hero-photo,.hero-pulse{background-position:60% center}
  .hero-photo{filter:brightness(1.36) saturate(1.04)}
  .hero-shade{background:radial-gradient(ellipse at 32% 76%,rgba(2,13,23,.27) 0%,rgba(2,13,23,.15) 35%,rgba(2,13,23,.04) 58%,transparent 76%),linear-gradient(0deg,rgba(3,16,27,.44) 0%,rgba(3,16,27,.18) 18%,rgba(3,16,27,.04) 44%,transparent 68%)}
}
@media (max-width:900px) and (orientation:landscape){
  .hero-photo,.hero-pulse{background-position:56% 50%}
}

/* Hero text: stable responsive side gutters across intermediate viewport widths. */
.hero-content{
  width:min(var(--max),calc(100% - (2 * clamp(24px,4vw,52px))));
}
@media(max-width:680px){
  .hero-content{width:calc(100% - 48px)}
}
