/* ==========================================================================
   J & S Consultancy LLC — jsconsultancy.net
   Design token system + components. Mobile first.
   Breakpoints: 480 / 768 / 1024 / 1280. Max content width 1200px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root{
  --navy:#102A43;
  --blue:#2C6FD1;
  --blue-dark:#1F5AB0;
  --teal:#12B5A5;
  --amber:#F6A609;
  --ink:#1F2937;
  --muted:#64748B;
  --line:#E2E8F0;
  --surface:#F5F8FC;
  --white:#FFFFFF;
  --navy-2:#0C2136;
  --shadow-soft:0 8px 24px rgba(16,42,67,.08);
  --shadow-lift:0 18px 44px rgba(16,42,67,.14);
  --r-card:14px;
  --r-ctl:10px;
  --font-head:"Plus Jakarta Sans",sans-serif;
  --font-body:"Inter",sans-serif;
  --ease:cubic-bezier(.22,.61,.21,1);
}

/* ---------- 2. Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  font-size:16px;line-height:1.7;color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg,video{display:block;max-width:100%}
a{color:var(--blue);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--blue-dark)}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--navy);line-height:1.25;font-weight:700}
h1{font-size:clamp(2rem,4vw,3.25rem)}
h2{font-size:clamp(1.6rem,3vw,2.4rem)}
h3{font-size:1.35rem}
p{margin-bottom:1rem}
::selection{background:var(--teal);color:var(--white)}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px;border-radius:4px}

.skip-link{
  position:absolute;left:1rem;top:-4rem;z-index:2000;
  background:var(--navy);color:var(--white);padding:.7rem 1.2rem;
  border-radius:var(--r-ctl);transition:top .2s var(--ease);
}
.skip-link:focus{top:1rem;color:var(--white)}

.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
.section{padding:48px 0}
@media(min-width:768px){.section{padding:80px 0}}
.section--surface{background:var(--surface)}
.section--navy{background:var(--navy);color:#DCE7F3}
.section--navy h2,.section--navy h3{color:var(--white)}

/* ---------- 3. Section headers ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-head);font-weight:700;font-size:.78rem;
  letter-spacing:.18em;text-transform:uppercase;color:var(--teal);
  margin-bottom:.9rem;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--teal);border-radius:2px}
.section-head{max-width:640px;margin-bottom:2.6rem}
.section-head p{color:var(--muted);margin:0}
.section-head--center{margin-left:auto;margin-right:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}
.section--navy .section-head p{color:#A9BFD6}

/* ---------- 4. Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--font-head);font-weight:700;font-size:.95rem;
  padding:.85rem 1.7rem;border-radius:var(--r-ctl);
  transition:background-color .2s var(--ease),color .2s var(--ease),
             transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease);
  will-change:transform;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--primary{background:var(--blue);color:var(--white);box-shadow:0 10px 22px rgba(44,111,209,.28)}
.btn--primary:hover{background:var(--blue-dark);color:var(--white)}
.btn--amber{background:var(--amber);color:var(--navy);box-shadow:0 10px 22px rgba(246,166,9,.3)}
.btn--amber:hover{background:#e09a06;color:var(--navy)}
.btn--outline-white{border:2px solid rgba(255,255,255,.75);color:var(--white)}
.btn--outline-white:hover{background:var(--white);color:var(--navy);border-color:var(--white)}
.btn--outline-navy{border:2px solid var(--navy);color:var(--navy)}
.btn--outline-navy:hover{background:var(--navy);color:var(--white)}
.btn--sm{padding:.55rem 1.15rem;font-size:.86rem}
.btn .arr{transition:transform .2s var(--ease)}
.btn:hover .arr{transform:translateX(4px)}
.btn[disabled]{opacity:.6;pointer-events:none}

/* ---------- 5. Header ---------- */
.site-header{
  position:sticky;top:0;z-index:1000;background:var(--white);
  transition:box-shadow .25s var(--ease);
}
.site-header.scrolled{box-shadow:var(--shadow-soft)}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:76px}
.brand{display:flex;align-items:center;gap:.6rem}
.brand svg{height:44px;width:auto}
.main-nav{display:none}
@media(min-width:1024px){.main-nav{display:block}}
.main-nav>ul{display:flex;align-items:center;gap:.35rem}
.main-nav a,.nav-drop-btn{
  display:inline-flex;align-items:center;gap:.3rem;
  font-family:var(--font-head);font-weight:600;font-size:.92rem;color:var(--navy);
  padding:.55rem .8rem;border-radius:8px;position:relative;
}
.main-nav a::after,.nav-drop-btn::after{
  content:"";position:absolute;left:.8rem;right:.8rem;bottom:.2rem;height:2px;
  background:var(--teal);border-radius:2px;transform:scaleX(0);transform-origin:left;
  transition:transform .25s var(--ease);
}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after,
.nav-drop-btn:hover::after{transform:scaleX(1)}
.main-nav a:hover,.nav-drop-btn:hover{color:var(--blue)}
.nav-item{position:relative}
.nav-drop-btn .caret{transition:transform .2s var(--ease)}
.nav-item.open .nav-drop-btn .caret{transform:rotate(180deg)}
.dropdown{
  position:absolute;top:calc(100% + 10px);left:0;min-width:290px;
  background:var(--white);border-radius:var(--r-card);box-shadow:var(--shadow-lift);
  padding:.6rem;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s;
}
.nav-item.open .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{
  display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;
  padding:.7rem .9rem;border-radius:10px;text-align:left;
  font-weight:600;color:var(--navy);
}
.dropdown a span{font-family:var(--font-body);font-weight:400;font-size:.8rem;color:var(--muted)}
.dropdown a:hover{background:var(--surface)}
.dropdown a::after{display:none}
.header-cta{display:none}
@media(min-width:1024px){.header-cta{display:inline-flex}}

.hamburger{display:flex;flex-direction:column;gap:5px;padding:.7rem;z-index:1202}
.hamburger span{width:24px;height:2px;background:var(--navy);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(min-width:1024px){.hamburger{display:none}}

/* Mobile panel */
.mobile-panel{
  position:fixed;inset:0;z-index:1100;background:var(--white);
  transform:translateX(100%);transition:transform .35s var(--ease);
  padding:96px 24px 120px;overflow-y:auto;
}
.mobile-panel.open{transform:translateX(0)}
.mobile-panel a.mlink{
  display:flex;justify-content:space-between;align-items:center;
  font-family:var(--font-head);font-weight:700;font-size:1.25rem;color:var(--navy);
  padding:.9rem 0;border-bottom:1px solid var(--line);
}
.m-acc-btn{
  display:flex;justify-content:space-between;align-items:center;width:100%;
  font-family:var(--font-head);font-weight:700;font-size:1.25rem;color:var(--navy);
  padding:.9rem 0;border-bottom:1px solid var(--line);
}
.m-acc-btn .caret{transition:transform .25s var(--ease)}
.m-acc-btn[aria-expanded="true"] .caret{transform:rotate(180deg)}
.m-sub{max-height:0;overflow:hidden;transition:max-height .3s var(--ease)}
.m-sub a{display:block;padding:.7rem 0 .7rem 1rem;color:var(--muted);font-weight:500;border-bottom:1px solid var(--line)}
.mobile-panel .btn{width:100%;margin-top:1.4rem}

/* Mobile bottom action bar */
.mobile-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:1050;
  display:grid;grid-template-columns:repeat(3,1fr);
  background:var(--navy);box-shadow:0 -6px 20px rgba(16,42,67,.25);
}
.mobile-bar a{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:.6rem .3rem calc(.6rem + env(safe-area-inset-bottom));
  color:#C9D9EA;font-size:.72rem;font-weight:600;font-family:var(--font-head);
}
.mobile-bar a:hover{color:var(--teal)}
@media(min-width:1024px){.mobile-bar{display:none}}
@media(max-width:1023px){body{padding-bottom:64px}}

/* ---------- 6. Hero (home) ---------- */
.hero{
  position:relative;min-height:92vh;min-height:92svh;
  display:flex;align-items:center;overflow:hidden;background:var(--navy);
}
.hero-slides{position:absolute;inset:0}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.4s var(--ease)}
.hero-slide.active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.hero-slide.active img{animation:kenburns 8s var(--ease) forwards}
@keyframes kenburns{from{transform:scale(1.02)}to{transform:scale(1.1)}}
.hero-veil{
  position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(12,33,54,.94) 0%,rgba(16,42,67,.82) 42%,rgba(16,42,67,.38) 100%);
}
.hero-in{position:relative;z-index:2;padding:90px 0 110px;color:var(--white)}
.hero-kicker{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-head);font-weight:700;font-size:.8rem;
  letter-spacing:.2em;text-transform:uppercase;color:var(--teal);margin-bottom:1.3rem;
}
.hero-kicker::before{content:"";width:34px;height:2px;background:var(--teal)}
.hero h1{color:var(--white);max-width:16ch;margin-bottom:1.2rem}
.hero h1 .accent{color:var(--teal)}
.hero-sub{max-width:560px;font-size:1.05rem;color:#C9D9EA;margin-bottom:2.1rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-dots{position:absolute;z-index:3;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;gap:.5rem}
.hero-dots button{width:34px;height:4px;border-radius:4px;background:rgba(255,255,255,.32);transition:background .3s}
.hero-dots button[aria-current="true"]{background:var(--teal)}

/* Masked line reveal */
.rline{display:block;overflow:hidden}
.rline>span{display:block;transform:translateY(110%)}
.no-gsap .rline>span{transform:none}

/* Hero fade-up helper */
.hfade{opacity:0;transform:translateY(22px)}
.no-gsap .hfade{opacity:1;transform:none}

/* ---------- 7. Marquee ---------- */
.marquee{
  overflow:hidden;background:var(--navy-2);color:#8FB0D2;
  border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);
  padding:1.1rem 0;
}
.marquee-track{display:flex;gap:3.5rem;width:max-content;animation:marquee 46s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{
  font-family:var(--font-head);font-weight:600;font-size:.95rem;
  letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  display:flex;align-items:center;gap:3.5rem;
}
.marquee-track i{font-style:normal;color:var(--teal)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- 8. Trust strip ---------- */
.trust{padding:2.4rem 0;border-bottom:1px solid var(--line)}
.trust p{text-align:center;font-size:.85rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1.4rem}
.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem 2.2rem}
.trust-logo{
  display:flex;align-items:center;justify-content:center;
  min-width:140px;height:52px;padding:0 1.2rem;
  border:1.5px dashed var(--line);border-radius:var(--r-ctl);
  color:var(--muted);font-size:.78rem;font-weight:600;letter-spacing:.06em;
  filter:grayscale(1);background:var(--white);
}

/* ---------- 9. Cards & grids ---------- */
.grid{display:grid;gap:1.4rem}
@media(min-width:640px){.grid--2{grid-template-columns:repeat(2,1fr)}.grid--3{grid-template-columns:repeat(2,1fr)}.grid--4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.grid--3{grid-template-columns:repeat(3,1fr)}.grid--4{grid-template-columns:repeat(4,1fr)}}

.card{
  background:var(--white);border-radius:var(--r-card);box-shadow:var(--shadow-soft);
  padding:2rem 1.7rem;position:relative;overflow:hidden;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--teal),var(--blue));
  transform:scaleY(0);transform-origin:top;transition:transform .35s var(--ease);
}
.card:hover{transform:translateY(-7px);box-shadow:var(--shadow-lift)}
.card:hover::before{transform:scaleY(1)}
.card .icon-chip{margin-bottom:1.2rem}
.card h3{margin-bottom:.55rem}
.card p{color:var(--muted);font-size:.95rem;margin-bottom:1.1rem}
.learn-link{
  display:inline-flex;align-items:center;gap:.45rem;
  font-family:var(--font-head);font-weight:700;font-size:.88rem;color:var(--blue);
}
.learn-link svg{transition:transform .2s var(--ease)}
.learn-link:hover svg{transform:translateX(5px)}

.icon-chip{
  width:56px;height:56px;border-radius:16px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(18,181,165,.12),rgba(44,111,209,.12));
  color:var(--navy);
}
.icon-chip svg{width:28px;height:28px}
.icon-chip .ic-t{stroke:var(--teal)}

/* ---------- 10. Split sections ---------- */
.split{display:grid;gap:2.2rem;align-items:center}
@media(min-width:1024px){.split{grid-template-columns:1fr 1fr;gap:4rem}}
.split--rev>.split-media{order:2}
.split-media{position:relative}
.split-media .frame{
  border-radius:var(--r-card);overflow:hidden;box-shadow:var(--shadow-lift);
  clip-path:inset(0 0 0 0 round var(--r-card));
}
.split-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.split-media::after{
  content:"";position:absolute;inset:auto -18px -18px auto;width:120px;height:120px;
  border-radius:20px;background:
    radial-gradient(circle at 6px 6px,var(--teal) 2.5px,transparent 3px) 0 0/22px 22px;
  z-index:-1;opacity:.7;
}
.check-list li{
  position:relative;padding:.55rem 0 .55rem 2.4rem;color:var(--ink);
}
.check-list li::before{
  content:"";position:absolute;left:0;top:.72rem;width:22px;height:22px;border-radius:50%;
  background:rgba(18,181,165,.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2312B5A5" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}
.check-list strong{color:var(--navy)}

/* ---------- 11. Steps / process ---------- */
.steps{display:grid;gap:1.2rem;counter-reset:step}
@media(min-width:768px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{
  position:relative;background:var(--white);border-radius:var(--r-card);
  box-shadow:var(--shadow-soft);padding:2rem 1.6rem 1.7rem;overflow:hidden;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.step:hover{transform:translateY(-6px);box-shadow:var(--shadow-lift)}
.step .num{
  font-family:var(--font-head);font-weight:700;font-size:3.2rem;line-height:1;
  color:transparent;-webkit-text-stroke:1.5px rgba(18,181,165,.55);
  display:block;margin-bottom:.8rem;
}
.step h3{font-size:1.15rem;margin-bottom:.45rem}
.step p{color:var(--muted);font-size:.93rem;margin:0}

/* Vertical timeline (process page) */
.vtimeline{position:relative;padding-left:2.2rem}
.vtimeline::before{content:"";position:absolute;left:9px;top:6px;bottom:6px;width:2px;background:linear-gradient(var(--teal),var(--blue))}
.vt-item{position:relative;padding-bottom:2.4rem}
.vt-item::before{
  content:"";position:absolute;left:-2.2rem;top:6px;width:20px;height:20px;border-radius:50%;
  background:var(--white);border:3px solid var(--teal);box-shadow:0 0 0 5px rgba(18,181,165,.12);
}
.vt-item h3{margin-bottom:.4rem}
.vt-item .deliver{
  display:inline-block;margin-top:.5rem;font-size:.8rem;font-weight:600;color:var(--blue);
  background:rgba(44,111,209,.08);border-radius:999px;padding:.3rem .9rem;
}

/* ---------- 12. Stats ---------- */
.stats{background:var(--navy);color:var(--white)}
.stats .grid{gap:2rem}
.stat{text-align:center}
.stat .val{
  font-family:var(--font-head);font-weight:700;
  font-size:clamp(2.2rem,4vw,3.2rem);color:var(--white);
}
.stat .val em{font-style:normal;color:var(--teal)}
.stat .lbl{color:#A9BFD6;font-size:.92rem}

/* ---------- 13. Testimonials ---------- */
.tslider{position:relative;max-width:820px;margin:0 auto}
.tslide{display:none;text-align:center;padding:0 1rem}
.tslide.active{display:block;animation:tfade .6s var(--ease)}
@keyframes tfade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.tslide blockquote{
  font-family:var(--font-head);font-weight:600;font-size:clamp(1.15rem,2.2vw,1.5rem);
  color:var(--navy);line-height:1.5;margin-bottom:1.4rem;
}
.tslide cite{font-style:normal;color:var(--muted);font-size:.9rem}
.tslide cite strong{display:block;color:var(--navy);font-family:var(--font-head)}
.tnav{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.8rem}
.tnav button.arrow{
  width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--navy);
  transition:all .2s var(--ease);
}
.tnav button.arrow:hover{background:var(--navy);color:var(--white);border-color:var(--navy)}
.tdots{display:flex;gap:.45rem}
.tdots button{width:10px;height:10px;border-radius:50%;background:var(--line)}
.tdots button[aria-current="true"]{background:var(--teal)}
.placeholder-note{
  display:inline-block;margin-top:1rem;font-size:.75rem;color:var(--amber);
  background:rgba(246,166,9,.1);border:1px dashed rgba(246,166,9,.5);
  border-radius:999px;padding:.3rem .9rem;
}

/* ---------- 14. CTA band ---------- */
.cta-band{
  position:relative;overflow:hidden;background:var(--navy);color:var(--white);
  text-align:center;
}
.cta-band::before{
  content:"";position:absolute;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(18,181,165,.22),transparent 65%);
  top:-260px;right:-160px;
}
.cta-band::after{
  content:"";position:absolute;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(44,111,209,.25),transparent 65%);
  bottom:-240px;left:-120px;
}
.cta-band .container{position:relative;z-index:2}
.cta-band h2{color:var(--white);margin-bottom:.8rem}
.cta-band p{color:#A9BFD6;max-width:560px;margin:0 auto 1.8rem}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.9rem}

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero{
  position:relative;background:var(--navy);color:var(--white);
  padding:72px 0 84px;overflow:hidden;
}
.page-hero.has-photo{min-height:340px;display:flex;align-items:center}
.page-hero .ph-bg{position:absolute;inset:0}
.page-hero .ph-bg img{width:100%;height:100%;object-fit:cover}
.page-hero .ph-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(12,33,54,.95) 10%,rgba(16,42,67,.72) 60%,rgba(16,42,67,.45));
}
.page-hero .container{position:relative;z-index:2}
.page-hero h1{color:var(--white);margin-bottom:.6rem}
.page-hero .lede{color:#C9D9EA;max-width:640px;margin:0}
.crumbs{display:flex;flex-wrap:wrap;gap:.45rem;font-size:.8rem;color:#8FB0D2;margin-bottom:1.1rem}
.crumbs a{color:#C9D9EA}
.crumbs a:hover{color:var(--teal)}
.crumbs li+li::before{content:"/";margin-right:.45rem;color:#5B7A99}

/* ---------- 16. Forms ---------- */
.form-card{
  background:var(--white);border-radius:var(--r-card);box-shadow:var(--shadow-soft);
  padding:1.6rem;
}
@media(min-width:768px){.form-card{padding:2.4rem}}
.form-grid{display:grid;gap:1.1rem}
@media(min-width:768px){.form-grid{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:1/-1}}
.field label{
  display:block;font-family:var(--font-head);font-weight:600;font-size:.86rem;
  color:var(--navy);margin-bottom:.4rem;
}
.field label .req{color:#D64545}
.field input,.field select,.field textarea{
  width:100%;padding:.8rem 1rem;border:1.5px solid var(--line);
  border-radius:var(--r-ctl);background:var(--white);
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(44,111,209,.14);
}
.field input.invalid,.field select.invalid,.field textarea.invalid{border-color:#D64545}
.field .err{
  display:none;font-size:.8rem;color:#D64545;margin-top:.35rem;
}
.field .err.show{display:block}
.consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.88rem;color:var(--muted)}
.consent input{width:18px;height:18px;margin-top:3px;accent-color:var(--blue);flex:none}
.hp-field{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;overflow:hidden}
.form-status{min-height:1.4rem;font-size:.9rem;margin-top:.9rem}
.thanks-panel{
  display:none;text-align:center;padding:2.4rem 1.4rem;
}
.thanks-panel.show{display:block;animation:tfade .5s var(--ease)}
.thanks-panel .ok-ring{
  width:74px;height:74px;margin:0 auto 1.2rem;border-radius:50%;
  background:rgba(18,181,165,.12);display:flex;align-items:center;justify-content:center;
  color:var(--teal);
}
.spinner{
  width:18px;height:18px;border-radius:50%;flex:none;
  border:2.5px solid rgba(255,255,255,.4);border-top-color:var(--white);
  animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.form-fallback{display:none;margin-top:.8rem;font-size:.85rem;color:var(--muted)}
.form-fallback.show{display:block}

/* Quick action tiles (contact) */
.tile-row{display:grid;gap:1rem;margin-bottom:2rem}
@media(min-width:768px){.tile-row{grid-template-columns:repeat(3,1fr)}}
.tile{
  text-align:left;background:var(--white);border:1.5px solid var(--line);
  border-radius:var(--r-card);padding:1.2rem 1.3rem;
  display:flex;align-items:center;gap:1rem;width:100%;
  transition:all .25s var(--ease);
}
.tile:hover,.tile.active{border-color:var(--teal);box-shadow:var(--shadow-soft);transform:translateY(-3px)}
.tile strong{display:block;font-family:var(--font-head);color:var(--navy);font-size:.98rem}
.tile span{font-size:.8rem;color:var(--muted)}
.tile .icon-chip{width:44px;height:44px;border-radius:12px}
.tile .icon-chip svg{width:22px;height:22px}

/* ---------- 17. Accordion (FAQ) ---------- */
.acc{border:1.5px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:var(--white)}
.acc-item+.acc-item{border-top:1.5px solid var(--line)}
.acc-btn{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;
  text-align:left;padding:1.25rem 1.4rem;
  font-family:var(--font-head);font-weight:600;font-size:1.02rem;color:var(--navy);
  transition:background .2s;
}
.acc-btn:hover{background:var(--surface)}
.acc-btn .acc-ic{
  flex:none;width:30px;height:30px;border-radius:50%;
  background:rgba(18,181,165,.12);color:var(--teal);
  display:flex;align-items:center;justify-content:center;transition:transform .3s var(--ease);
}
.acc-btn[aria-expanded="true"] .acc-ic{transform:rotate(45deg)}
.acc-panel{max-height:0;overflow:hidden;transition:max-height .35s var(--ease)}
.acc-panel-in{padding:0 1.4rem 1.4rem;color:var(--muted)}

/* ---------- 18. Jobs ---------- */
.job-toolbar{
  display:grid;gap:.8rem;margin-bottom:1.6rem;
}
@media(min-width:900px){.job-toolbar{grid-template-columns:2fr 1fr 1fr 1fr}}
.job-toolbar input,.job-toolbar select{
  width:100%;padding:.8rem 1rem;border:1.5px solid var(--line);border-radius:var(--r-ctl);
}
.job-count{font-size:.88rem;color:var(--muted);margin-bottom:1.2rem}
.job-card{
  background:var(--white);border-radius:var(--r-card);box-shadow:var(--shadow-soft);
  padding:1.6rem;display:flex;flex-direction:column;gap:.9rem;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.job-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lift)}
.job-card h3{font-size:1.15rem}
.job-meta{display:flex;flex-wrap:wrap;gap:.5rem}
.pill{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.76rem;font-weight:600;border-radius:999px;padding:.28rem .85rem;
  background:var(--surface);color:var(--muted);
}
.pill--teal{background:rgba(18,181,165,.12);color:#0B7C71}
.pill--blue{background:rgba(44,111,209,.1);color:var(--blue-dark)}
.job-skills{display:flex;flex-wrap:wrap;gap:.4rem}
.job-skills .pill{background:var(--white);border:1px solid var(--line)}
.empty-state{
  display:none;text-align:center;padding:3.4rem 1.4rem;background:var(--white);
  border-radius:var(--r-card);box-shadow:var(--shadow-soft);
}
.empty-state.show{display:block}
.jd-list li{position:relative;padding-left:1.5rem;margin-bottom:.5rem;color:var(--muted)}
.jd-list li::before{content:"";position:absolute;left:0;top:.68em;width:8px;height:8px;border-radius:50%;background:var(--teal)}

/* ---------- 19. Tables ---------- */
.table-wrap{overflow-x:auto;border-radius:var(--r-card);box-shadow:var(--shadow-soft)}
table.cmp{width:100%;border-collapse:collapse;background:var(--white);min-width:680px}
table.cmp th,table.cmp td{padding:1rem 1.2rem;text-align:left;border-bottom:1px solid var(--line);font-size:.92rem}
table.cmp thead th{background:var(--navy);color:var(--white);font-family:var(--font-head);font-size:.86rem;letter-spacing:.04em}
table.cmp tbody tr:hover{background:var(--surface)}
table.cmp td:first-child{font-weight:600;color:var(--navy)}

/* ---------- 20. Modal / toast / misc ---------- */
.modal-backdrop{
  position:fixed;inset:0;z-index:1300;background:rgba(12,33,54,.6);
  backdrop-filter:blur(6px);display:none;align-items:flex-start;justify-content:center;
  padding:5vh 16px;overflow-y:auto;
}
.modal-backdrop.open{display:flex}
.modal{
  background:var(--white);border-radius:var(--r-card);max-width:640px;width:100%;
  padding:1.6rem;position:relative;animation:modal-in .35s var(--ease);
  max-height:90vh;overflow-y:auto;
}
@media(min-width:768px){.modal{padding:2.2rem}}
@keyframes modal-in{from{opacity:0;transform:translateY(26px) scale(.98)}to{opacity:1;transform:none}}
.modal-close{
  position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;
  background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--navy);
  transition:background .2s;
}
.modal-close:hover{background:var(--line)}

.toast-stack{position:fixed;z-index:1400;right:16px;bottom:80px;display:flex;flex-direction:column;gap:.6rem}
@media(min-width:1024px){.toast-stack{bottom:24px}}
.toast{
  display:flex;align-items:center;gap:.7rem;max-width:360px;
  background:var(--navy);color:var(--white);border-radius:var(--r-ctl);
  padding:.9rem 1.2rem;box-shadow:var(--shadow-lift);font-size:.9rem;
  animation:toast-in .3s var(--ease);
}
.toast.ok{border-left:4px solid var(--teal)}
.toast.bad{border-left:4px solid #D64545}
@keyframes toast-in{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}

.to-top{
  position:fixed;right:18px;bottom:86px;z-index:1040;width:46px;height:46px;border-radius:50%;
  background:var(--blue);color:var(--white);box-shadow:var(--shadow-lift);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:all .3s var(--ease);
}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--blue-dark)}
@media(min-width:1024px){.to-top{bottom:24px}}

.map-frame{
  width:100%;height:380px;border:0;border-radius:var(--r-card);
  box-shadow:var(--shadow-soft);
}

/* ---------- 21. Footer ---------- */
.site-footer{background:var(--navy);color:#A9BFD6}
.footer-grid{display:grid;gap:2.2rem;padding:64px 0 44px}
@media(min-width:768px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.2fr}}
.site-footer h4{
  color:var(--white);font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:1.1rem;
}
.site-footer a{color:#A9BFD6}
.site-footer a:hover{color:var(--teal)}
.footer-links li{margin-bottom:.55rem;font-size:.92rem}
.footer-brand p{font-size:.9rem;max-width:300px;margin:.9rem 0 1.1rem}
.socials{display:flex;gap:.6rem}
.socials a{
  width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
  transition:all .2s var(--ease);
}
.socials a:hover{background:var(--teal);border-color:var(--teal);color:var(--navy)}
.footer-contact li{display:flex;gap:.7rem;margin-bottom:.75rem;font-size:.9rem}
.footer-contact svg{flex:none;margin-top:3px;color:var(--teal)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding:1.3rem 0;
  display:flex;flex-direction:column;gap:.7rem;font-size:.82rem;
}
@media(min-width:768px){.footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}}
.footer-bottom .legal{display:flex;flex-wrap:wrap;gap:1.2rem}
.eeo{font-size:.78rem;color:#7E9AB8;max-width:760px;margin-top:.6rem}

/* ---------- 22. Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-delay="1"]{transition-delay:.1s}
.reveal[data-delay="2"]{transition-delay:.2s}
.reveal[data-delay="3"]{transition-delay:.3s}
.reveal[data-delay="4"]{transition-delay:.4s}
.reveal[data-delay="5"]{transition-delay:.5s}

/* ---------- 23. Industry anchors / misc ---------- */
.ind-block{display:grid;gap:1.8rem;align-items:center;padding:2.4rem 0;border-bottom:1px solid var(--line)}
@media(min-width:1024px){.ind-block{grid-template-columns:1fr 1fr;gap:3.4rem;padding:3.2rem 0}}
.ind-block:nth-child(even) .ind-media{order:2}
.ind-media{border-radius:var(--r-card);overflow:hidden;box-shadow:var(--shadow-soft)}
.ind-media img{width:100%;aspect-ratio:16/10;object-fit:cover}
.role-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}

.badge{
  display:inline-block;font-size:.74rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--navy);background:rgba(246,166,9,.18);
  border:1px solid rgba(246,166,9,.45);border-radius:999px;padding:.3rem .9rem;
}
.note-box{
  background:rgba(246,166,9,.08);border:1px dashed rgba(246,166,9,.5);
  border-radius:var(--r-card);padding:1.2rem 1.4rem;font-size:.9rem;color:var(--muted);
}
.tech-strip{display:flex;flex-wrap:wrap;gap:.7rem}
.tech-strip .pill{font-size:.85rem;padding:.5rem 1.1rem;border:1px solid var(--line);background:var(--white);color:var(--navy)}

.prose h2{margin:2.2rem 0 .9rem}
.prose h3{margin:1.6rem 0 .6rem;font-size:1.1rem}
.prose p,.prose li{color:var(--muted)}
.prose ul{list-style:disc;padding-left:1.4rem;margin-bottom:1rem}
.prose ul li{margin-bottom:.4rem}

/* 404 */
.nf-hero{min-height:70vh;display:flex;align-items:center;text-align:center}
.nf-code{
  font-family:var(--font-head);font-weight:700;font-size:clamp(5rem,16vw,10rem);
  color:transparent;-webkit-text-stroke:2px var(--teal);line-height:1;
}

/* ---------- 24. Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
  .reveal,.hfade,.rline>span{opacity:1!important;transform:none!important}
  .hero-slide.active img{animation:none}
  .marquee-track{animation:none}
}
