/* ============================================================
   INTRASPA — Design System
   Palette: deep engineering navy + cold cyan signal + a single
   crimson accent lifted from the "@" in the logo, used sparingly
   as a status/alert marker (the one thing the eye lands on).
   Type: Space Grotesk (display) / Manrope (body) / IBM Plex Mono (data)
   ============================================================ */

:root{
  --navy-900:#050f20;
  --navy-800:#0b2549;
  --navy-700:#123568;
  --navy-600:#1c4785;
  --cyan-400:#20c7dc;
  --cyan-300:#6fe0ee;
  --cyan-050:#eafbfd;
  --signal:#e0233f;
  --ink:#101c2c;
  --ink-soft:#50606f;
  --ink-faint:#8a97a6;
  --line:#e2e8ef;
  --line-soft:#eef2f6;
  --paper:#ffffff;
  --paper-soft:#f6f8fb;
  --radius:10px;
  --maxw:1160px;
  --shadow-card:0 1px 2px rgba(11,37,73,.04), 0 12px 32px -18px rgba(11,37,73,.18);
  --shadow-lift:0 20px 48px -20px rgba(11,37,73,.28);
  --ease:cubic-bezier(.19,1,.22,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:'Manrope',sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.6;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  color:var(--navy-800);
  line-height:1.12;
  margin:0 0 14px;
  letter-spacing:-.01em;
}
h1{font-size:clamp(34px,4.6vw,58px); font-weight:700;}
h2{font-size:clamp(26px,3.2vw,38px); font-weight:700;}
h3{font-size:19px; font-weight:700;}
h4{font-size:16px; font-weight:700; color:var(--navy-800);}
p{margin:0 0 14px; color:var(--ink-soft);}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{margin:0; padding:0;}
em{font-style:normal; color:var(--cyan-400); font-style:italic;}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.mt0{margin-top:0;}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--cyan-400); font-weight:500; margin-bottom:14px;
}
.eyebrow::before{content:''; width:16px; height:1px; background:var(--cyan-400);}
.eyebrow.on-dark{color:var(--cyan-300);}

.placeholder{color:var(--ink-faint); font-style:italic;}
.tag{
  display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:12px;
  padding:6px 12px; border:1px solid var(--line); border-radius:99px;
  color:var(--navy-700); margin:0 8px 8px 0; background:var(--paper-soft);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px;
  padding:13px 24px; border-radius:6px; border:1px solid transparent;
  cursor:pointer; transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .25s;
  white-space:nowrap;
}
.btn-primary{background:var(--navy-800); color:#fff;}
.btn-primary:hover{background:var(--navy-700); transform:translateY(-2px); box-shadow:var(--shadow-lift);}
.btn-navy{background:var(--navy-800); color:#fff;}
.btn-navy:hover{background:var(--navy-700); transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--navy-800); border-color:var(--line);}
.btn-ghost:hover{border-color:var(--navy-800); transform:translateY(-2px);}
.btn-white{background:#fff; color:var(--navy-800);}
.btn-white:hover{transform:translateY(-2px); box-shadow:var(--shadow-lift);}
.btn-sm{padding:9px 16px; font-size:13.5px;}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.86); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav{
  max-width:var(--maxw); margin:0 auto; padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{display:flex; align-items:center; gap:12px;}
.logo-img{height:34px; width:auto;}
.brand small{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.1em;
  color:var(--ink-faint); display:block; margin-top:2px;
}
.navlinks{display:flex; align-items:center; gap:30px;}
.navlinks a{font-size:14.5px; font-weight:600; color:var(--ink-soft); position:relative; padding:4px 0; transition:color .2s;}
.navlinks a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--cyan-400); transition:width .3s var(--ease);
}
.navlinks a:hover,.navlinks a.active{color:var(--navy-800);}
.navlinks a:hover::after,.navlinks a.active::after{width:100%;}
.navlinks a.cta{
  background:var(--navy-800); color:#fff; padding:10px 18px; border-radius:6px;
  font-size:13.5px;
}
.navlinks a.cta::after{display:none;}
.navlinks a.cta:hover{background:var(--navy-700);}
.navtoggle{
  display:none; background:none; border:1px solid var(--line); border-radius:6px;
  width:40px; height:40px; font-size:18px; color:var(--navy-800); cursor:pointer;
}
@media (max-width:900px){
  .navtoggle{display:block;}
  .navlinks{
    position:fixed; inset:64px 0 auto 0; background:#fff; flex-direction:column;
    align-items:stretch; gap:0; padding:8px 20px 20px; border-bottom:1px solid var(--line);
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:all .3s var(--ease);
  }
  .navlinks.open{transform:translateY(0); opacity:1; pointer-events:auto;}
  .navlinks a{padding:14px 4px; border-bottom:1px solid var(--line-soft);}
  .navlinks a.cta{text-align:center; margin-top:12px;}
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero{padding:76px 0 60px; overflow:hidden; position:relative;}
.hero .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
@media (max-width:940px){.hero .wrap{grid-template-columns:1fr;}}
.hero .lead{font-size:17.5px; max-width:520px;}
.ctarow{display:flex; gap:14px; flex-wrap:wrap; margin:28px 0 36px;}
.stats{display:flex; gap:34px; flex-wrap:wrap;}
.stats > div{display:flex; flex-direction:column;}
.stats b{font-family:'Space Grotesk',sans-serif; font-size:28px; color:var(--navy-800);}
.stats span{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.08em; color:var(--ink-faint);}

/* terminal / scan panel — signature motif */
.scan-panel,.terminal{
  background:var(--navy-900); border-radius:12px; overflow:hidden;
  box-shadow:0 30px 70px -30px rgba(5,15,32,.55);
  border:1px solid #16305a;
}
.scan-head{
  display:flex; align-items:center; gap:10px; padding:12px 16px;
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:#7d97b8;
  border-bottom:1px solid #14294c; background:#081b38;
}
.dots{display:flex; gap:6px;}
.dots span{width:8px; height:8px; border-radius:50%; background:#2a4570;}
.scan-body{padding:20px 18px; font-family:'IBM Plex Mono',monospace; font-size:12.5px;}
.scan-line{
  height:1px; background:linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  margin-bottom:14px; opacity:.6; animation:scanmove 3.2s linear infinite;
  background-size:200% 100%;
}
@keyframes scanmove{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
.scan-row{
  display:flex; justify-content:space-between; gap:14px; padding:7px 0;
  border-bottom:1px dashed #14294c; color:#c4d3e6; opacity:0;
  animation:rowin .5s var(--ease) forwards;
}
.scan-row:last-child{border-bottom:none;}
.scan-row .k{color:#7d97b8;}
.scan-row .v{color:var(--cyan-300);}
.scan-row .ok{color:#39e29d;}
.scan-row:nth-child(1){animation-delay:.05s;} .scan-row:nth-child(2){animation-delay:.14s;}
.scan-row:nth-child(3){animation-delay:.23s;} .scan-row:nth-child(4){animation-delay:.32s;}
.scan-row:nth-child(5){animation-delay:.41s;} .scan-row:nth-child(6){animation-delay:.50s;}
.scan-row:nth-child(7){animation-delay:.59s;} .scan-row:nth-child(8){animation-delay:.68s;}
.scan-row:nth-child(9){animation-delay:.77s;} .scan-row:nth-child(10){animation-delay:.86s;}
.scan-row:nth-child(11){animation-delay:.95s;} .scan-row:nth-child(12){animation-delay:1.04s;}
@keyframes rowin{from{opacity:0; transform:translateX(-6px);} to{opacity:1; transform:translateX(0);}}
.cursor{
  display:inline-block; width:7px; height:13px; background:var(--cyan-400);
  margin-left:8px; animation:blink 1s step-end infinite; vertical-align:middle;
}
@keyframes blink{0%,49%{opacity:1;} 50%,100%{opacity:0;}}

.hero-badges{display:flex; gap:16px; flex-wrap:wrap; margin-top:22px;}
.hero-badges span{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--navy-700);
  background:var(--cyan-050); border:1px solid #d3eef2; padding:7px 12px; border-radius:99px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--navy-700);
  background:var(--cyan-050); border:1px solid #d3eef2; padding:7px 14px; border-radius:99px; margin-bottom:18px;
}
.chip-dot{width:7px; height:7px; border-radius:50%; background:var(--signal); animation:pulse 2s ease-in-out infinite;}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(224,35,63,.4);}50%{box-shadow:0 0 0 6px rgba(224,35,63,0);}}
.hl{color:var(--cyan-400);}

.hero-photo-wrap{position:relative;}
.hero-photo-card{
  position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/5;
  box-shadow:var(--shadow-lift); border:1px solid var(--line);
}
.hero-photo-card img{width:100%; height:100%; object-fit:cover;}
.hero-photo-tag{
  position:absolute; left:18px; bottom:18px; right:18px;
  background:rgba(5,15,32,.72); backdrop-filter:blur(6px); border-radius:8px;
  padding:12px 16px; color:#fff; font-family:'IBM Plex Mono',monospace; font-size:12px;
}
.hero-photo-tag b{display:block; font-family:'Space Grotesk',sans-serif; font-size:15px; margin-bottom:2px;}

/* trust row */
.trust-row{
  display:flex; flex-wrap:wrap; gap:24px 40px; justify-content:space-between;
  padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.08em;
  color:var(--ink-faint); text-transform:uppercase;
}

/* ============================================================
   SECTIONS / SERVICES
   ============================================================ */
section{padding:88px 0;}
.section-head{max-width:640px; margin-bottom:48px;}
.section-head p{font-size:16px;}

.services-grid,.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:26px;}
@media (max-width:900px){.services-grid,.grid-3,.grid-2{grid-template-columns:1fr;}}

.service-card,.card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow-card); transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lift); border-color:#d3eef2;}
.service-card .icon,.svc-head .icon,.why-item .icon{
  width:48px; height:48px; border-radius:8px; background:var(--navy-800); color:#fff;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-card ul{margin:16px 0 20px; padding:0; list-style:none;}
.service-card li{
  font-size:14px; color:var(--ink-soft); padding:8px 0 8px 20px; position:relative;
  border-top:1px solid var(--line-soft);
}
.service-card li::before{content:'▸'; position:absolute; left:0; color:var(--cyan-400);}
.service-card li:first-child{border-top:none;}
.more{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; color:var(--navy-800); display:inline-flex; gap:6px;}
.more:hover{color:var(--cyan-400);}

.service-photo{
  border-radius:var(--radius); overflow:hidden; margin-bottom:18px; aspect-ratio:16/10;
}
.service-photo img{width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease);}
.service-card:hover .service-photo img{transform:scale(1.05);}

/* why band (dark) */
.why-band{background:var(--navy-900); color:#fff; padding:88px 0; position:relative; overflow:hidden;}
.why-band::before{
  content:''; position:absolute; inset:0; opacity:.5;
  background:
    radial-gradient(circle at 15% 20%, rgba(32,199,220,.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(224,35,63,.10), transparent 40%);
}
.why-band .wrap{position:relative;}
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:40px;}
@media (max-width:900px){.why-grid{grid-template-columns:1fr;}}
.why-item{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09); border-radius:var(--radius);
  padding:28px 24px; transition:transform .4s var(--ease), background .3s;
}
.why-item:hover{transform:translateY(-6px); background:rgba(255,255,255,.07);}
.why-item .icon{background:rgba(32,199,220,.15); color:var(--cyan-300);}
.why-item h3{color:#fff;}
.why-item p{color:#a9b8c9; margin:0; font-size:14.5px;}

/* process */
.process{display:flex; flex-direction:column; margin-top:36px;}
.process-step{
  display:flex; gap:26px; padding:26px 0; border-top:1px solid var(--line); align-items:flex-start;
}
.process-step:last-child{border-bottom:1px solid var(--line);}
.process-step .n{
  font-family:'Space Grotesk',sans-serif; font-size:34px; font-weight:700; color:var(--line);
  min-width:64px; transition:color .3s;
}
.process-step:hover .n{color:var(--cyan-400);}
.process-step h4{margin-bottom:6px;}
.process-step p{margin:0; font-size:14.5px;}

/* cta band */
.cta-band{
  background:var(--navy-800); color:#fff; border-radius:16px; padding:48px 44px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(32,199,220,.22), transparent 70%);
}
.cta-band h2{color:#fff; margin-bottom:8px; font-size:26px;}
.cta-band p{color:#b7c6d8; margin:0;}
.cta-band .btn-primary{background:#fff; color:var(--navy-800);}
.cta-band .btn-primary:hover{background:var(--cyan-050);}

/* ============================================================
   ABOUT / TWO-COL / PHOTO
   ============================================================ */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
@media (max-width:900px){.two-col{grid-template-columns:1fr;}}
.about{padding:0 0 88px;}
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;}
@media (max-width:900px){.about-grid{grid-template-columns:1fr;}}
.about-photo{position:relative;}
.about-photo-glow{
  position:absolute; inset:-16px; background:radial-gradient(circle, rgba(32,199,220,.18), transparent 70%);
  z-index:0; filter:blur(6px);
}
.about-photo-card{
  position:relative; z-index:1; border-radius:16px; overflow:hidden; border:1px solid var(--line);
  box-shadow:var(--shadow-lift);
}
.about-photo-card img{width:100%; aspect-ratio:4/5; object-fit:cover;}
.about-photo-cap{padding:16px 18px; background:var(--navy-900); color:#fff;}
.about-photo-cap .name{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:15px; margin:0;}
.about-photo-cap .role{margin:2px 0 0; font-size:12.5px;}
.stats-row{display:flex; gap:28px; margin-top:26px; flex-wrap:wrap;}
.stat{display:flex; gap:12px; align-items:flex-start;}
.stat-ico{font-size:20px;}
.strong{font-weight:700; color:var(--navy-800); margin:0; font-family:'Space Grotesk',sans-serif;}
.xs{font-size:12.5px; margin:0;}

.quote{
  margin-top:26px; padding:20px 22px; border-left:3px solid var(--cyan-400);
  background:var(--paper-soft); border-radius:0 8px 8px 0;
}
.quote-ico{color:var(--cyan-400); font-size:18px;}
.quote-text{font-family:'Space Grotesk',sans-serif; font-style:italic; color:var(--navy-800); margin:6px 0;}

.skills{display:flex; flex-wrap:wrap; gap:8px; margin:18px 0;}
.cert-list{list-style:none; margin:0; padding:0;}
.cert-list li{
  display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--ink-soft);
}
.cert-list li::before{content:'✓'; color:var(--cyan-400); font-weight:700;}

/* ============================================================
   TIMELINE (formazione)
   ============================================================ */
.tl-group{margin-bottom:44px;}
.tl-group h3{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--cyan-400); font-weight:500; margin-bottom:20px; padding-bottom:10px; border-bottom:1px solid var(--line);
}
.timeline{position:relative; padding-left:22px; border-left:2px solid var(--line);}
.tl-item{position:relative; padding-bottom:26px;}
.tl-item::before{
  content:''; position:absolute; left:-27px; top:4px; width:10px; height:10px; border-radius:50%;
  background:#fff; border:2px solid var(--cyan-400);
}
.tl-item .date{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--ink-faint); letter-spacing:.04em; margin-bottom:4px;
}
.tl-item h4{margin-bottom:4px; font-size:15.5px;}
.tl-item p{margin:0; font-size:14px;}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{background:var(--navy-900); color:#fff;}
.contact-grid{display:grid; grid-template-columns:1fr .95fr; gap:56px; align-items:start;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.on-dark{color:#fff;}
.on-dark-soft{color:#a9b8c9;}
.contact-list{display:flex; flex-direction:column; gap:2px; margin-top:24px;}
.contact-item{
  display:flex; gap:14px; align-items:center; padding:16px 4px; border-bottom:1px solid rgba(255,255,255,.09);
  transition:padding-left .25s;
}
a.contact-item:hover{padding-left:10px; color:var(--cyan-300);}
.ci-ico{font-size:17px; color:var(--cyan-300);}
.ci-label{display:block; font-family:'IBM Plex Mono',monospace; font-size:11px; color:#8a97a6; letter-spacing:.06em; text-transform:uppercase;}
.ci-val{display:block; font-size:15px; font-weight:600; color:#fff;}

.contact-card{background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:30px;}
.contact-card h3{color:#fff;}
.contact-actions{display:flex; flex-direction:column; gap:10px; margin-top:18px;}
.ca{
  display:flex; align-items:center; justify-content:space-between; padding:14px 16px;
  border:1px solid rgba(255,255,255,.14); border-radius:8px; color:#fff; font-size:14.5px; font-weight:600;
  transition:border-color .25s, transform .3s var(--ease), background .25s;
}
.ca:hover{border-color:var(--cyan-400); transform:translateX(4px); background:rgba(32,199,220,.08);}
.ca .arr{color:var(--cyan-300); transition:transform .3s var(--ease);}
.ca:hover .arr{transform:translateX(4px);}
.ca-solid{background:var(--cyan-400); border-color:var(--cyan-400); color:var(--navy-900);}
.ca-solid .arr{color:var(--navy-900);}
.ca-solid:hover{background:var(--cyan-300); transform:translateX(4px);}
.arr{display:inline-block; transition:transform .3s var(--ease);}
.btn:hover .arr,a:hover > .arr{transform:translateX(3px);}

/* contact form (contatti.html) */
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.field.full{grid-column:1/-1;}
@media (max-width:640px){.form-grid{grid-template-columns:1fr;}}
.field label{display:block; font-size:13px; font-weight:600; color:var(--navy-800); margin-bottom:7px;}
.field input,.field select,.field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:7px; font-family:'Manrope',sans-serif;
  font-size:14.5px; color:var(--ink); background:var(--paper); transition:border-color .2s, box-shadow .2s;
}
.field textarea{min-height:110px; resize:vertical;}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--cyan-400); box-shadow:0 0 0 3px rgba(32,199,220,.14);
}
.quote-form{margin-top:8px;}
.quote-form .btn{margin-top:22px;}

.contact-info-list{list-style:none; padding:0; margin:0 0 32px;}
.contact-info-list li{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line);}
.contact-info-list .ic{width:36px; height:36px; border:1px solid var(--navy-800); border-radius:4px; display:flex; align-items:center; justify-content:center; color:var(--navy-800); flex:none;}
.contact-info-list b{display:block; font-size:14px; color:var(--navy-800); margin-bottom:2px;}
.contact-info-list span{font-size:14.5px; color:var(--ink-soft);}
.map-box{
  height:220px; border-radius:8px; border:1px solid var(--line); overflow:hidden; position:relative;
}
.map-box iframe{width:100%; height:100%; border:0; filter:grayscale(.15) contrast(1.05);}
.form-confirm{display:none; text-align:center; padding:60px 20px;}
.form-confirm .ic{width:56px; height:56px; border-radius:50%; background:var(--navy-800); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:22px;}

/* ============================================================
   LINKEDIN PLUGIN
   ============================================================ */
.linkedin-section{background:var(--paper-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.li-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:40px;}
.li-head .btn{flex:none;}
.li-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:32px; align-items:start;}
@media (max-width:900px){.li-grid{grid-template-columns:1fr;}}
.li-badge-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow-card); text-align:center;
}
.li-badge-card .li-ico{
  width:52px; height:52px; border-radius:10px; background:#0a66c2; color:#fff; display:flex; align-items:center;
  justify-content:center; margin:0 auto 16px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:22px;
}
.li-badge-card p{font-size:13.5px;}
.li-badge-embed{margin:16px 0; display:flex; justify-content:center; min-height:220px;}
.li-posts{display:flex; flex-direction:column; gap:14px;}
.li-post{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px;
  display:flex; gap:16px; box-shadow:var(--shadow-card); transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.li-post:hover{transform:translateY(-4px); box-shadow:var(--shadow-lift);}
.li-post-ico{
  width:38px; height:38px; border-radius:8px; background:var(--cyan-050); color:var(--navy-700);
  display:flex; align-items:center; justify-content:center; flex:none; font-size:17px;
}
.li-post-date{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-faint); letter-spacing:.05em; text-transform:uppercase; margin-bottom:5px;}
.li-post h4{font-size:15px; margin-bottom:5px;}
.li-post p{margin:0; font-size:13.5px;}
.li-note{
  font-size:12.5px; color:var(--ink-faint); margin-top:18px; padding-top:16px; border-top:1px dashed var(--line);
}
.li-post-link{
  display:inline-block; margin-top:8px; font-size:12.5px; font-weight:600;
  color:var(--navy-700); text-decoration:none; border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease);
}
.li-post-link:hover{border-color:var(--navy-700);}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal{opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease);}
.reveal.in{opacity:1; transform:translateY(0);}
.reveal-stagger{opacity:0;}
.reveal-stagger.in{opacity:1;}
.reveal-stagger.in > *{
  animation:staggerin .7s var(--ease) forwards; opacity:0; transform:translateY(22px);
}
.reveal-stagger.in > *:nth-child(1){animation-delay:.02s;}
.reveal-stagger.in > *:nth-child(2){animation-delay:.12s;}
.reveal-stagger.in > *:nth-child(3){animation-delay:.22s;}
.reveal-stagger.in > *:nth-child(4){animation-delay:.32s;}
.reveal-stagger.in > *:nth-child(5){animation-delay:.42s;}
.reveal-stagger.in > *:nth-child(6){animation-delay:.52s;}
@keyframes staggerin{to{opacity:1; transform:translateY(0);}}

/* ============================================================
   FOOTER
   ============================================================ */
footer{background:var(--navy-900); color:#a9b8c9; padding:60px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom:36px;}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-grid .logo-img{filter:brightness(0) invert(1); opacity:.92; margin-bottom:14px;}
.footer-grid p{font-size:13.5px; color:#8a97a6;}
.footer-grid h4{color:#fff; font-size:13px; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px;}
.footer-grid a{display:block; font-size:13.5px; color:#a9b8c9; margin-bottom:10px; transition:color .2s;}
.footer-grid a:hover{color:var(--cyan-300);}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}
.footer-logo{height:30px; filter:brightness(0) invert(1); opacity:.9;}
.footer-legal p{margin:0; font-size:12.5px; color:#7d8ea3;}
.footer-bottom{
  display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid rgba(255,255,255,.09);
  font-size:12.5px; color:#7d8ea3; flex-wrap:wrap; gap:10px;
}

/* breadcrumb / page hero for inner pages */
.page-hero{padding:56px 0 70px; background:linear-gradient(180deg, var(--paper-soft), #fff);}
.breadcrumb{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink-faint); margin-bottom:18px;}
.breadcrumb a{color:var(--ink-faint);}
.breadcrumb a:hover{color:var(--navy-800);}
.page-hero h1{max-width:760px;}
.page-hero p{max-width:640px; font-size:16.5px;}

::selection{background:var(--cyan-400); color:#fff;}
