*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #07070a; --surface: #0c0c12; --border: #1a1a2e;
  --blue: #5bc8f5; --blue-bright: #7dd8ff;
  --text: #ffffff; --muted: #4a5568;
  --font-display: 'Bebas Neue', cursive; --font-body: 'Outfit', sans-serif;
  --nav-h: 64px;
}
html, body { width: 100%; height: 100%; background: var(--bg); overflow: hidden; cursor: none; font-family: var(--font-body); }

/* PROGRESS BAR */
#progress-top {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 99999;
  background: rgba(91,200,245,.08);
}
#progress-top::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-bright));
  box-shadow: 0 0 8px var(--blue);
  transition: width .15s ease-out;
}

/* GALAXY CANVAS */
#galaxy-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* CURSOR */
#cur { position: fixed; border-radius: 50%; width: 36px; height: 36px; background: transparent; border: 2px solid var(--blue); pointer-events: none; z-index: 999999; transform: translate(-50%,-50%); box-shadow: 0 0 12px var(--blue), inset 0 0 8px rgba(91,200,245,.15); transition: width .2s, height .2s, box-shadow .2s, background .2s; opacity: 0; }
#cur.hover { width: 52px; height: 52px; background: rgba(91,200,245,.08); box-shadow: 0 0 20px var(--blue), 0 0 50px rgba(91,200,245,.3); }
#cur.visible { opacity: 1; }
#curDot { position: fixed; border-radius: 50%; width: 5px; height: 5px; background: var(--blue); pointer-events: none; z-index: 1000000; transform: translate(-50%,-50%); box-shadow: 0 0 6px var(--blue); opacity: 0; }
#curDot.visible { opacity: 1; }

/* ═══════════════════════════════════
   CINEMATIC VIDEO LOADER
═══════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: #000;
  display: block;
  overflow: hidden;
  cursor: none;
}

/* Fullscreen background video */
#ld-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform-origin: center center;
  transition: transform 1.5s cubic-bezier(.4,0,.2,1), opacity 1.5s ease;
}

/* Subtle dark vignette over video */
#loader::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Center text container */
.ld-center-text {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.2rem;
  pointer-events: none;
}

/* Shared text style */
.ld-text {
  font-family: var(--font-display);
  letter-spacing: .22em;
  text-align: center;
  color: var(--blue);
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
  white-space: nowrap;
  filter: drop-shadow(0 0 18px var(--blue)) drop-shadow(0 0 40px rgba(91,200,245,.5));
}
.ld-text.ld-visible {
  opacity: 1;
  transform: scale(1);
}
.ld-text.ld-hide {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .5s ease, transform .5s ease;
}

/* "ENTERING THE UNIVERSE..." — medium */
#ldText1 {
  font-size: clamp(1rem, 2.8vw, 2rem);
}

/* "WELCOME TO MY UNIVERSE" — big cinematic */
#ldText2 {
  font-size: clamp(1.8rem, 5.5vw, 4.2rem);
  color: #fff;
  letter-spacing: .18em;
  filter:
    drop-shadow(0 0 24px var(--blue))
    drop-shadow(0 0 60px rgba(91,200,245,.7))
    drop-shadow(0 0 120px rgba(91,200,245,.3));
}

/* Bottom-right boot log */
.ld-boot-log {
  position: absolute;
  bottom: 2rem; right: 2rem;
  z-index: 10;
  display: flex; flex-direction: column; align-items: flex-end; gap: .3rem;
  pointer-events: none;
}
.ld-boot-line {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(91,200,245,.55);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.ld-boot-line.ld-boot-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Exit animation — video zooms in and dissolves */
/* Flash overlay for transition */
#ld-flash {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
#ld-flash.ld-flash-on  { opacity: 1; }
#ld-flash.ld-flash-out { opacity: 0; transition: opacity 1.4s cubic-bezier(.4,0,.2,1); }

/* Loader exit — video zooms in fast */
#loader.ld-exit {
  pointer-events: none;
}
#loader.ld-exit #ld-video {
  animation: ldVideoZoom .55s cubic-bezier(.4,0,1,1) forwards;
}
#loader.ld-exit .ld-center-text,
#loader.ld-exit .ld-boot-log {
  animation: ldTextFade .3s ease forwards;
}
@keyframes ldVideoZoom {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes ldTextFade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* APP */
#app { position: fixed; inset: 0; overflow: hidden; z-index: 1; display: none; }

/* SIDEBAR */
.sidebar { position: fixed; left: 0; top: var(--nav-h); bottom: 0; width: 52px; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 60px; }
.social-item { position: relative; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; overflow: hidden; }
.social-item::before { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .32s cubic-bezier(.16,1,.3,1); }
.social-item:hover::before { transform: scaleX(1); }
.social-icon { position: relative; z-index: 1; color: rgba(91,200,245,.35); transition: color .22s, transform .22s; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.social-item:hover .social-icon { color: var(--bg); transform: scale(1.1); }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.cv-side { position: relative; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; overflow: hidden; margin-top: 2px; }
.cv-side::before { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .32s cubic-bezier(.16,1,.3,1); }
.cv-side:hover::before { transform: scaleX(1); }
.cv-side-label { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; color: rgba(91,200,245,.5); transition: color .22s; pointer-events: none; }
.cv-side:hover .cv-side-label { color: var(--bg); }

/* NAV */
nav { position: fixed; top: 2px; left: 0; right: 0; z-index: 200; height: var(--nav-h); display: flex; align-items: center; padding: 0 2.5rem; background: transparent; }
.nav-left { display: flex; align-items: center; z-index: 2; }
.nav-logo { font-family: var(--font-display); font-size: 2rem; letter-spacing: .06em; cursor: none; color: var(--blue); text-shadow: 0 0 14px rgba(91,200,245,.5); user-select: none; white-space: nowrap; display: inline-block; overflow: hidden; }
.logo-letter { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.logo-letter.vis { opacity: 1; transform: translateY(0); }
.nav-email-wrap { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .1rem; z-index: 1; }
.nav-email { font-size: .82rem; letter-spacing: .06em; color: var(--blue); cursor: none; position: relative; padding: .28rem .8rem; border: 1px solid transparent; transition: all .3s; }
.nav-email:hover { color: var(--blue-bright); border-color: rgba(91,200,245,.3); }
.nav-email.copied { color: #00f5c4; border-color: #00f5c4; }
.copy-flash { font-size: .58rem; color: #00f5c4; letter-spacing: .1em; text-transform: uppercase; position: absolute; top: -1.6rem; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity .3s; white-space: nowrap; pointer-events: none; }
.nav-email.copied .copy-flash { opacity: 1; }
.nav-email-text { pointer-events: none; }
.nav-email-hint { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: transparent; transition: color .3s; }
.nav-email:hover + .nav-email-hint { color: var(--muted); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 2rem; z-index: 2; }
.nav-link { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: none; padding: .3rem 0; border-bottom: 2px solid transparent; background: none; border-left: none; border-right: none; border-top: none; font-family: var(--font-body); transition: color .3s, border-color .3s; }
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-link-icon { display: flex; align-items: center; justify-content: center; padding: .3rem .2rem; }

/* SCROLL CONTAINER */
#scroll-container {
  position: absolute;
  top: var(--nav-h);
  left: 52px;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
#scroll-container::-webkit-scrollbar { width: 3px; }
#scroll-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ═══════════════════════════════════
   SECTIONS — BIDIRECTIONAL SCROLL REVEAL
═══════════════════════════════════ */
.scroll-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 6vw;
  /* hidden state */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.scroll-section.section-visible {
  opacity: 1;
  transform: translateY(0);
}
/* When leaving upwards — slide down */
.scroll-section.section-exit-up {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity .5s cubic-bezier(.7,0,1,1), transform .5s cubic-bezier(.7,0,1,1);
}
/* When leaving downwards — slide up (back to default hidden state) */
.scroll-section.section-exit-down {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .5s cubic-bezier(.7,0,1,1), transform .5s cubic-bezier(.7,0,1,1);
}
/* Home starts visible, never animates out */
.section-home {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Inner elements bidirectional reveal */
.ab-big-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem,10vw,9rem);
  letter-spacing: .06em; text-align: center; line-height: 1;
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.ab-big-title.ab-visible { opacity: 1; transform: none; }
.ab-big-title.ab-exit { opacity: 0; transform: translateY(-20px); transition: opacity .4s, transform .4s; }

.ab-underline {
  width: 0; height: 2px;
  background: linear-gradient(90deg,transparent,var(--blue),transparent);
  transition: width 1s .5s cubic-bezier(.16,1,.3,1), opacity .5s .3s;
  opacity: 0;
}
.ab-big-title.ab-visible ~ .ab-underline { width: clamp(200px,40vw,500px); opacity: 1; }

.ab-quote-wrap {
  max-width: 680px; text-align: center;
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s .4s, transform .9s .4s;
}
.ab-quote-wrap.ab-visible { opacity: 1; transform: none; }
.ab-quote-wrap.ab-exit { opacity: 0; transform: translateY(-15px); transition: opacity .4s, transform .4s; }

.ab-quote-text { font-size: clamp(1rem,1.5vw,1.2rem); font-weight: 300; line-height: 1.95; color: #fff; }

/* STRENGTH CARDS */
.ab-strength-card {
  padding: 2rem 1.6rem; border: 1px solid var(--border); border-radius: 8px;
  background: rgba(91,200,245,.03); display: flex; flex-direction: column; gap: .6rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s, transform .6s, border-color .3s, box-shadow .3s;
}
.ab-strength-card.ab-visible { opacity: 1; transform: none; }
.ab-strength-card.ab-exit { opacity: 0; transform: translateY(-16px); transition: opacity .35s, transform .35s; }
.ab-strength-card:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: 0 10px 32px rgba(91,200,245,.09); }
.ab-strength-card.ab-visible:hover { transform: translateY(-5px); }
.ab-strength-icon { width: 28px; height: 28px; }
.ab-strength-icon svg { width: 100%; height: 100%; stroke: var(--blue); }
.ab-strength-name { font-size: .88rem; font-weight: 600; color: #fff; letter-spacing: .04em; }
.ab-strength-desc { font-size: .73rem; font-weight: 300; color: #fff; line-height: 1.65; }

/* GLOBE WRAP */
.ab-globe-wrap {
  width: 100%; max-width: 800px;
  height: min(75vh, 680px);
  position: relative; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.9);
  transition: opacity 1s .1s, transform 1s .1s;
  cursor: grab;
}
.ab-globe-wrap:active { cursor: grabbing; }
.ab-globe-wrap.ab-visible { opacity: 1; transform: scale(1); }
.ab-globe-wrap.ab-exit { opacity: 0; transform: scale(.88); transition: opacity .4s, transform .4s; }
#globeCanvas { width: 100%; height: 100%; display: block; }

/* ── HOME ── */
.section-home {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  min-height: 100vh;
  overflow: hidden;
}
.home-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle,rgba(91,200,245,.05) 0%,transparent 65%); top: 45%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; animation: glowPulse 6s ease-in-out infinite; z-index: 0; }
@keyframes glowPulse { 0%,100%{opacity:.6} 50%{opacity:1} }
.home-content { display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; position: relative; z-index: 1; align-items: center; }
.home-left { padding: 0 2rem 0 1rem; }
.hl-hello { font-size: .88rem; color: var(--blue); letter-spacing: .07em; margin-bottom: .5rem; }
.hl-name { font-family: var(--font-display); font-size: clamp(2.8rem,4.5vw,5rem); line-height: .95; }
.hl-souilah { color: #fff; display: block; }
.hl-moncef { display: block; color: var(--blue); text-shadow: 0 0 20px rgba(91,200,245,.4); }
.home-right { padding: 0 1rem 0 2rem; text-align: right; }
.hr-an { font-size: .85rem; color: var(--muted); letter-spacing: .06em; margin-bottom: .3rem; }
.hr-role { font-family: var(--font-display); font-size: clamp(2.5rem,4vw,4.5rem); line-height: .92; margin-bottom: 1rem; }
.hr-role .r1 { display: block; color: #fff; }
.hr-role .r2 { display: block; color: var(--blue); text-shadow: 0 0 20px rgba(91,200,245,.4); }
.hr-skills { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.hr-skills-row { display: flex; gap: .28rem; }
.hr-skill { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); padding: .14rem .42rem; border: 1px solid rgba(91,200,245,.35); background: rgba(91,200,245,.06); transition: all .22s; cursor: none; text-decoration: none; display: inline-block; }
.hr-skill:hover { border-color: var(--blue); color: #fff; background: rgba(91,200,245,.18); box-shadow: 0 0 10px rgba(91,200,245,.35); }

/* ── ABOUT ── */
.section-about { justify-content: flex-start; padding-top: 10vh; gap: 1rem; }
.about-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* ── TECH STACK ── */
.section-techstack { gap: 1rem; }

/* ── STRENGTHS ── */
.section-strengths { gap: 2.5rem; padding: 5rem 6vw 6rem; }
.ab-strengths-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 1.2rem; width: 100%; max-width: 1000px; }

/* ── PROJECTS ── */
.section-projects { padding: 5rem 0 4rem; gap: 0; overflow: hidden; }
.proj-section-header { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 0 6vw 2.5rem; width: 100%; }
.proj-hscroll-wrapper { width: 100%; position: relative; overflow: hidden; }
.proj-hscroll-track { display: flex; flex-direction: row; gap: 3rem; padding: 2rem 6vw 2.5rem; transition: transform .4s cubic-bezier(.25,1,.3,1); will-change: transform; }
.proj-h-card { flex-shrink: 0; width: clamp(320px,38vw,520px); display: flex; flex-direction: column; gap: .8rem; position: relative; }
.proj-h-num { font-family: var(--font-display); font-size: clamp(4rem,8vw,7rem); line-height: 1; color: rgba(91,200,245,.12); position: absolute; top: -1.5rem; left: -.5rem; z-index: 0; user-select: none; pointer-events: none; }
.proj-h-top { display: flex; flex-direction: column; gap: .3rem; position: relative; z-index: 1; padding-left: 3rem; }
.proj-h-category { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); opacity: .7; }
.proj-h-name { font-family: var(--font-display); font-size: clamp(1.4rem,2.2vw,2rem); letter-spacing: .05em; color: #fff; line-height: 1.1; }
.proj-h-tools-label { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-left: 3rem; position: relative; z-index: 1; }
.proj-h-tags { display: flex; flex-wrap: wrap; gap: .3rem; position: relative; z-index: 1; padding-left: 3rem; }
.proj-h-screenshot { width: 100%; aspect-ratio: 16/9; border: 1px solid rgba(91,200,245,.18); background: linear-gradient(135deg,rgba(91,200,245,.06),rgba(91,200,245,.02)); position: relative; overflow: hidden; box-shadow: 0 0 0 0 rgba(91,200,245,0); transition: box-shadow .3s, border-color .3s; z-index: 1; }
.proj-h-screenshot:hover { border-color: rgba(91,200,245,.5); box-shadow: 0 0 20px rgba(91,200,245,.15), 0 0 60px rgba(91,200,245,.06); }
.proj-h-screenshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.proj-h-screenshot img.loaded { opacity: 1; }
.proj-h-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 100%; opacity: .15; }
.proj-h-placeholder svg { width: 40px; height: 40px; stroke: var(--blue); fill: none; stroke-width: 1; }
.proj-h-corner { position: absolute; width: 14px; height: 14px; border-color: rgba(91,200,245,.3); border-style: solid; }
.proj-h-corner.tl{top:6px;left:6px;border-width:1px 0 0 1px;} .proj-h-corner.tr{top:6px;right:6px;border-width:1px 1px 0 0;} .proj-h-corner.bl{bottom:6px;left:6px;border-width:0 0 1px 1px;} .proj-h-corner.br{bottom:6px;right:6px;border-width:0 1px 1px 0;}
.proj-h-screenshot:hover .proj-h-corner { border-color: var(--blue); }
.proj-h-actions { display: flex; gap: .5rem; padding-left: 3rem; position: relative; z-index: 1; }
.proj-h-btn { display: inline-flex; align-items: center; gap: .35rem; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .9rem; cursor: none; text-decoration: none; transition: all .3s; font-family: var(--font-body); }
.proj-h-btn svg { width: 11px; height: 11px; fill: currentColor; flex-shrink: 0; }
.proj-h-btn-primary { background: var(--blue); color: var(--bg); border: 1px solid var(--blue); }
.proj-h-btn-primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: 0 0 18px rgba(91,200,245,.3); }
.proj-h-btn-outline { background: none; color: var(--muted); border: 1px solid var(--border); }
.proj-h-btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.proj-see-all-wrap { display: flex; justify-content: center; padding: 1.5rem 6vw 0; }
.proj-see-all-btn { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .1em; color: var(--blue); background: none; border: 1px solid rgba(91,200,245,.3); padding: .6rem 2rem; cursor: none; transition: all .3s; }
.proj-see-all-btn:hover { background: rgba(91,200,245,.08); border-color: var(--blue); box-shadow: 0 0 24px rgba(91,200,245,.15); color: var(--blue-bright); }

/* ── CONTACT ── */
.ab-section--contact { min-height: auto; padding: 5rem 6vw 6rem; border-top: 1px solid rgba(91,200,245,.1); }
.section-contact { justify-content: center !important; }
.ab-contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; width: 100%; max-width: 1100px; align-items: flex-start; }
.ab-contact-col { display: flex; flex-direction: column; gap: 1.2rem; }
.ab-contact-name { display: flex; flex-direction: column; font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); letter-spacing: .06em; line-height: 1.05; }
.ab-contact-name-blue { color: var(--blue); }
.ab-contact-name-white { color: #f0f0f0; }
.ab-contact-info-group { display: flex; flex-direction: column; gap: .25rem; }
.ab-contact-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ab-contact-email { font-size: .82rem; color: #f0f0f0; cursor: none; text-decoration: none; transition: color .2s; }
.ab-contact-email:hover { color: var(--blue); }
.ab-contact-copied { font-size: .65rem; color: #00f5c4; letter-spacing: .08em; opacity: 0; transition: opacity .3s; pointer-events: none; }
.ab-contact-copied.show { opacity: 1; }
.ab-contact-value { font-size: .82rem; color: #f0f0f0; }
.ab-contact-mid { gap: .6rem; }
.ab-contact-social { display: flex; align-items: flex-start; flex-direction: column; gap: .4rem; font-size: 1.1rem; font-family: var(--font-display); letter-spacing: .04em; color: #f0f0f0; text-decoration: none; cursor: none; position: relative; padding-bottom: .8rem; transition: color .2s; }
.ab-contact-social:hover { color: var(--blue); }
.ab-contact-social:hover .ab-social-line { width: 100%; }
.ab-social-arrow { color: var(--blue); font-size: .9rem; }
.ab-social-line { display: block; height: 1px; width: 0%; background: var(--blue); transition: width .35s ease; position: absolute; bottom: 0; left: 0; box-shadow: 0 0 6px var(--blue); }
.ab-contact-social-row { display: flex; align-items: center; gap: .4rem; }
.ab-contact-right { align-items: flex-end; text-align: right; }
.ab-contact-footer { display: flex; flex-direction: column; gap: .15rem; align-items: flex-end; }
.ab-contact-credit { font-size: .88rem; font-weight: 300; color: var(--muted); line-height: 1.3; }
.ab-contact-credit .ab-contact-name-blue, .ab-contact-credit .ab-contact-name-white { font-size: inherit; font-family: inherit; letter-spacing: inherit; }
.ab-contact-copy { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }

/* ── SHARED TITLE ── */
.ab-title-white { color: #f0f0f0; }
.ab-title-blue { color: var(--blue); }

/* ── FULL PROJECTS OVERLAY ── */
#page-projects-full { position: fixed; inset: 0; top: var(--nav-h); left: 52px; z-index: 500; background: var(--bg); display: none; flex-direction: column; opacity: 0; transition: opacity .4s; }
#page-projects-full.open { display: flex; }
#page-projects-full.visible { opacity: 1; }
#proj-grid-view { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; }
.proj-grid-header { display: flex; align-items: center; justify-content: center; padding: 1.3rem 2.5rem .7rem; flex-shrink: 0; }
.pgh-title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .08em; color: var(--text); }
.pgh-title span { color: var(--blue); }
.proj-rows-wrap { flex: 1; overflow-y: auto; overflow-x: visible; padding: 6px 1.8rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; min-height: 0; }
.proj-rows-wrap::-webkit-scrollbar { width: 3px; }
.proj-rows-wrap::-webkit-scrollbar-thumb { background: var(--border); }
.proj-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.icon-back-btn { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 20; width: 38px; height: 38px; border: 1px solid var(--border); background: none; cursor: none; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .3s; }
.icon-back-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(91,200,245,.06); }
.icon-back-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; pointer-events: none; }
.proj-card { background: var(--surface); border: 1px solid var(--border); position: relative; cursor: none; transition: border-color .3s, transform .3s, box-shadow .3s; display: flex; flex-direction: column; overflow: visible; }
.proj-card::before { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(91,200,245,.15)); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.16,1,.3,1); z-index: 10; }
.proj-card:hover { border-color: rgba(91,200,245,.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(91,200,245,.08); }
.proj-card:hover::before { transform: scaleX(1); }
.pc-img { width: 100%; height: 110px; background: linear-gradient(135deg,rgba(91,200,245,.06) 0%,rgba(91,200,245,.02) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }
.pc-img-inner { display: flex; flex-direction: column; align-items: center; gap: .25rem; opacity: .15; transition: opacity .3s; }
.proj-card:hover .pc-img-inner { opacity: .28; }
.pc-img-inner svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.2; }
.pc-img::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(91,200,245,.07), transparent); transition: none; }
.proj-card:hover .pc-img::after { left: 200%; transition: left 1s ease; }
.pc-body { padding: .65rem .85rem .75rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.pc-title { font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.pc-tags { display: flex; flex-wrap: wrap; gap: .18rem; }
.pc-tag { font-size: .47rem; padding: .09rem .3rem; border: 1px solid rgba(91,200,245,.22); color: rgba(91,200,245,.65); letter-spacing: .08em; text-transform: uppercase; cursor: none; transition: all .25s; }
.pc-tag:hover { border-color: var(--blue); color: #fff; background: rgba(91,200,245,.15); }
.proj-card:hover .pc-tag { border-color: rgba(91,200,245,.45); color: var(--blue); }
.pc-thumb-img.loaded { opacity: 1 !important; }
.proj-card:hover .pc-thumb-img.loaded { transform: scale(1.06); transition: opacity .4s, transform .5s ease; }

/* detail */
#proj-detail-view { display: none; flex-direction: column; width: 100%; height: 100%; overflow: hidden; }
#proj-detail-view.animating .pd-topbar { animation: detailFadeUp .35s cubic-bezier(.16,1,.3,1) both; }
#proj-detail-view.animating .pd-screenshot { animation: detailSlideIn .5s .08s cubic-bezier(.16,1,.3,1) both; }
#proj-detail-view.animating .pd-info > * { animation: detailFadeUp .4s cubic-bezier(.16,1,.3,1) both; }
#proj-detail-view.animating .pd-info > *:nth-child(1){animation-delay:.12s} #proj-detail-view.animating .pd-info > *:nth-child(2){animation-delay:.18s} #proj-detail-view.animating .pd-info > *:nth-child(3){animation-delay:.24s} #proj-detail-view.animating .pd-info > *:nth-child(4){animation-delay:.30s} #proj-detail-view.animating .pd-info > *:nth-child(5){animation-delay:.36s}
@keyframes detailSlideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detailFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.pd-topbar { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 2.5rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.pd-back { width: 38px; height: 38px; border: 1px solid var(--border); background: none; cursor: none; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .3s; flex-shrink: 0; }
.pd-back:hover { border-color: var(--blue); color: var(--blue); background: rgba(91,200,245,.05); }
.pd-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; pointer-events: none; }
.pd-crumb { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.pd-crumb b { color: var(--blue); font-weight: 400; }
.pd-body { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-content: start; }
.pd-body::-webkit-scrollbar { width: 3px; }
.pd-body::-webkit-scrollbar-thumb { background: var(--border); }
.pd-screenshot { border: 1px solid var(--border); background: linear-gradient(135deg,rgba(91,200,245,.07),rgba(91,200,245,.02)); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.pd-screenshot:hover { border-color: rgba(91,200,245,.4); box-shadow: 0 0 30px rgba(91,200,245,.1); }
.pd-screenshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; z-index: 1; }
.pd-screenshot img.loaded { opacity: 1; }
.pd-shot-inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; opacity: .18; z-index: 0; }
.pd-shot-inner svg { width: 56px; height: 56px; stroke: var(--blue); fill: none; stroke-width: .8; }
.pd-shot-label { font-family: var(--font-display); font-size: .9rem; letter-spacing: .2em; color: var(--blue); }
.pd-screenshot::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px); opacity: 0; transition: opacity .3s; }
.pd-screenshot:hover::after { opacity: 1; }
.pd-scan-line { position: absolute; left: 0; right: 0; height: 2px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(91,200,245,.6), transparent); box-shadow: 0 0 8px var(--blue); animation: scanMove 2.5s linear infinite; opacity: 0; transition: opacity .3s; }
.pd-screenshot:hover .pd-scan-line { opacity: 1; }
@keyframes scanMove { from { top: 0%; } to { top: 100%; } }
.pd-corner { position: absolute; width: 16px; height: 16px; border-color: rgba(91,200,245,.35); border-style: solid; z-index: 4; transition: border-color .3s, width .3s, height .3s; }
.pd-corner.tl{top:8px;left:8px;border-width:1px 0 0 1px;} .pd-corner.tr{top:8px;right:8px;border-width:1px 1px 0 0;} .pd-corner.bl{bottom:8px;left:8px;border-width:0 0 1px 1px;} .pd-corner.br{bottom:8px;right:8px;border-width:0 1px 1px 0;}
.pd-screenshot:hover .pd-corner { border-color: var(--blue); width: 22px; height: 22px; }
.pd-stack-tag { font-size: .58rem; padding: .2rem .5rem; border: 1px solid rgba(91,200,245,.22); color: var(--blue); background: rgba(91,200,245,.05); letter-spacing: .08em; text-transform: uppercase; transition: all .25s; cursor: none; }
.pd-stack-tag:hover { background: rgba(91,200,245,.18); border-color: var(--blue); color: #fff; box-shadow: 0 0 12px rgba(91,200,245,.4); transform: translateY(-2px); }
a.pd-stack-tag { text-decoration: none; cursor: none; }
.pd-info { display: flex; flex-direction: column; gap: 1.1rem; }
.pd-proj-index { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(91,200,245,.4); }
.pd-proj-name { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--text); line-height: 1; letter-spacing: .05em; }
.pd-proj-name span { color: var(--blue); }
.pd-divider { height: 1px; background: linear-gradient(90deg,rgba(91,200,245,.3),transparent); }
.pd-section { display: flex; flex-direction: column; gap: .45rem; }
.pd-section-lbl { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(91,200,245,.45); }
.pd-desc { font-size: .78rem; font-weight: 300; line-height: 1.85; color: #fff !important; }
.pd-stack { display: flex; flex-wrap: wrap; gap: .3rem; }
.pd-actions { display: flex; gap: .7rem; padding-top: .2rem; }
.pd-btn { display: inline-flex; align-items: center; gap: .45rem; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; padding: .52rem 1.1rem; cursor: none; text-decoration: none; transition: all .3s; font-family: var(--font-body); }
.pd-btn svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }
.pd-btn-primary { background: var(--blue); color: var(--bg); border: 1px solid var(--blue); }
.pd-btn-primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: 0 0 24px rgba(91,200,245,.35); }
.pd-btn-outline { background: none; color: var(--muted); border: 1px solid var(--border); }
.pd-btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* LIGHTBOX */
#screenshotLightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; }
#screenshotLightbox.slb-open { display: flex; }
.slb-bg { position: absolute; inset: 0; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); cursor: none; }
.slb-inner { position: relative; z-index: 1; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; animation: slbIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes slbIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
.slb-inner img { max-width: 100%; max-height: 88vh; object-fit: contain; display: block; border: 1px solid rgba(91,200,245,.3); box-shadow: 0 0 60px rgba(91,200,245,.15); }
.slb-close { position: absolute; top: -16px; right: -16px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--bg); border: none; font-size: 1rem; cursor: none; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.slb-close:hover { background: #fff; transform: scale(1.1); }

/* ══════════ MOBILE ══════════ */
@media (max-width: 600px) {
  html, body { cursor: auto; }
  #cur, #curDot { display: none !important; }
  :root { --nav-h: 56px; }
  nav { padding: 0 1rem; }
  .nav-email-wrap { display: none; }
  .nav-right { gap: 1rem; }
  .nav-link { font-size: .62rem; cursor: auto; }
  .nav-logo { font-size: 1.6rem; }
  .sidebar { display: none !important; }
  #scroll-container { left: 0; top: var(--nav-h); }
  .section-home { padding: 0 1.5rem; }
  .home-content { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; justify-items: center; }
  .home-left { padding: 0; }
  .home-right { padding: 0; text-align: center; }
  .hr-skills { align-items: center; }
  .hr-role { font-size: clamp(1.8rem,9vw,2.5rem); }
  .hl-name { font-size: clamp(2.2rem,11vw,3.2rem); }
  .hr-skill { cursor: auto; }
  .section-about { padding: 4rem 1.5rem; }
  .ab-big-title { font-size: clamp(2.5rem,12vw,5rem); }
  .ab-quote-text { font-size: .9rem; }
  .section-techstack { padding: 3rem 1rem; }
  .ab-globe-wrap { height: min(60vw,340px); }
  .section-strengths { padding: 3rem 1.5rem 4rem; }
  .ab-strengths-grid { grid-template-columns: 1fr; }
  .ab-strength-card { padding: 1.4rem 1.2rem; }
  .section-projects { padding: 3rem 0 2rem; }
  .proj-section-header { padding: 0 1.5rem 1.5rem; }
  .proj-hscroll-track { gap: 1.5rem; padding: 1rem 1.5rem 1.5rem; }
  .proj-h-card { width: 80vw; }
  .proj-h-actions { padding-left: 2rem; }
  .proj-see-all-btn { cursor: auto; }
  .ab-section--contact { padding: 3rem 1.5rem 4rem; }
  .ab-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ab-contact-right { align-items: flex-start; text-align: left; }
  .ab-contact-email, .ab-contact-social { cursor: auto; }
  #page-projects-full { left: 0; }
  .proj-row { grid-template-columns: 1fr; }
  .pd-body { grid-template-columns: 1fr; padding: 1.2rem 1rem 3rem; }
  .pd-topbar { padding: 1rem; }
  .icon-back-btn, .pd-back, .proj-card { cursor: auto; }
  a, button { cursor: auto; }
}
@media (min-width: 601px) and (max-width: 900px) {
  #scroll-container { left: 0; }
  .sidebar { display: none !important; }
  .proj-row { grid-template-columns: 1fr 1fr; }
  .ab-contact-grid { grid-template-columns: 1fr 1fr; }
  .ab-contact-right { grid-column: 1/-1; align-items: flex-start; text-align: left; }
}
/* CAREER & EXPERIENCE */
.section-career{padding:5rem 4vw 7rem;display:flex;flex-direction:column;align-items:center;min-height:100vh;gap:0;justify-content:flex-start;}
.career-title-wrap{display:flex;flex-direction:column;align-items:center;margin-bottom:4rem;width:100%;}
.career-title-wrap .ab-big-title{line-height:1.05;}
.career-title-1,.career-title-2,.career-title-ul{transition:opacity .6s ease,transform .6s ease;}
.career-wrap{width:100%;max-width:1100px;position:relative;}
.career-line-track{position:absolute;left:50%;transform:translateX(-50%);top:0;bottom:0;width:1px;pointer-events:none;z-index:2;}
.career-line-bg{position:absolute;inset:0;background:rgba(91,200,245,.08);}
.career-line-fill{position:absolute;top:0;left:0;right:0;height:0%;background:linear-gradient(180deg,var(--blue),rgba(91,200,245,.2));box-shadow:0 0 6px 1px var(--blue),0 0 14px 2px rgba(91,200,245,.25);will-change:height;transition:height .15s ease-out;}
.career-line-dot{position:absolute;left:50%;top:0%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px var(--blue),0 0 0 6px rgba(91,200,245,.25),0 0 16px 4px var(--blue),0 0 30px 8px rgba(91,200,245,.2);z-index:3;will-change:top;transition:top .15s ease-out;animation:dotPulse 2s ease-in-out infinite;}
.career-entries{width:100%;display:flex;flex-direction:column;}
.career-entry{display:grid;grid-template-columns:1fr 160px 1.6fr;align-items:center;min-height:140px;padding:3rem 0;border-bottom:1px solid rgba(91,200,245,.05);}
.career-entry:last-child{border-bottom:none;}
.career-left{padding-right:3rem;display:flex;flex-direction:column;gap:.5rem;transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);}
.career-role{font-family:var(--font-display);font-size:clamp(1.3rem,2.2vw,2.2rem);letter-spacing:.03em;color:#fff;line-height:1.1;}
.career-type{font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);}
.career-year{font-family:var(--font-display);font-size:clamp(1.8rem,3.5vw,3rem);letter-spacing:.05em;color:#fff;text-align:center;position:relative;z-index:4;transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);}
.career-right{padding-left:3rem;transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);}
.career-desc{font-size:.95rem;font-weight:300;line-height:1.7;color:rgba(255,255,255,.88);}
@media(max-width:700px){.section-career{padding:3rem 1.5rem 5rem;}.career-line-track{display:none;}.career-entry{grid-template-columns:1fr;padding:2rem 0;gap:.4rem;}.career-left{padding-right:0;order:2;}.career-year{text-align:left;order:1;color:var(--blue);font-size:1.8rem;}.career-right{padding-left:0;order:3;}}
@keyframes dotPulse{0%,100%{box-shadow:0 0 0 3px var(--blue),0 0 0 6px rgba(91,200,245,.25),0 0 16px 4px var(--blue),0 0 30px 8px rgba(91,200,245,.2);}50%{box-shadow:0 0 0 3px var(--blue),0 0 0 10px rgba(91,200,245,.15),0 0 22px 6px var(--blue),0 0 45px 12px rgba(91,200,245,.3);}}
/* ── LOADER PROGRESS BAR ── */
#ld-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  background: rgba(91,200,245,.12);
}
#ld-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--blue), rgba(255,255,255,.9), var(--blue));
  box-shadow: 0 0 10px var(--blue), 0 0 20px rgba(91,200,245,.6);
  transition: width 0.3s ease;
  border-radius: 0 2px 2px 0;
}

/* ── HERO PHOTO ── */
.home-center { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0 2vw; }
.hc-wrap { position:relative; width:clamp(180px,22vw,260px); height:clamp(180px,22vw,260px); }
.hc-photo { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; position:relative; z-index:2; }
.hc-ring { position:absolute; inset:-5px; border-radius:50%; z-index:1;
  background: conic-gradient(from 0deg, transparent 0%, rgba(91,200,245,0) 20%, rgba(91,200,245,.95) 50%, rgba(91,200,245,0) 80%, transparent 100%);
  animation: hcRing 3s linear infinite; filter:blur(2px); }
.hc-wrap::after { content:''; position:absolute; inset:-14px; border-radius:50%;
  background:radial-gradient(circle,rgba(91,200,245,.2) 0%,transparent 70%);
  z-index:0; animation:hcPulse 2.5s ease-in-out infinite; }
@keyframes hcRing { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes hcPulse { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.06)} }

/* ── GET IN TOUCH BAR ── */
.hc-contact-bar {
  display: block;
  margin-top: 1.4rem;
  padding: .52rem 0;
  width: clamp(180px,22vw,260px);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .2em;
  color: var(--blue);
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(91,200,245,.5);
  background: rgba(91,200,245,.04);
  cursor: none;
  animation: barGlow 2.5s ease-in-out infinite;
  transition: background .3s, color .3s;
}
.hc-contact-bar:hover {
  background: rgba(91,200,245,.15);
  color: #fff;
}
@keyframes barGlow {
  0%,100% {
    box-shadow: 0 0 6px rgba(91,200,245,.3), 0 0 14px rgba(91,200,245,.15);
    border-color: rgba(91,200,245,.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(91,200,245,.7), 0 0 40px rgba(91,200,245,.35), 0 0 70px rgba(91,200,245,.15);
    border-color: rgba(91,200,245,.9);
  }
}
@media(max-width:700px){
  .hc-contact-bar { cursor: auto; font-size: .85rem; width: clamp(130px,40vw,180px); }
}
@media(max-width:700px){
  .home-center{padding:.5rem 0; order:-1;}
  .hc-wrap{width:clamp(130px,40vw,180px);height:clamp(130px,40vw,180px);}
}

/* ── WHAT I DO ── */
.section-whatido{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:0 6vw 20vh;}
.wid-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:6vw;width:100%;max-width:1200px;align-items:center;}
.wid-left{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;}
.wid-title{text-align:left!important;font-size:clamp(4rem,9vw,9rem)!important;white-space:nowrap;}
.wid-white{color:#f0f0f0;} .wid-blue{color:var(--blue);text-shadow:0 0 24px rgba(91,200,245,.4);}
.wid-cards-anim{opacity:0;transform:translateY(22px);transition:opacity .9s .3s cubic-bezier(.16,1,.3,1),transform .9s .3s cubic-bezier(.16,1,.3,1);}
.wid-cards-anim.ab-visible{opacity:1;transform:none;}
.wid-cards-anim.ab-exit{opacity:0;transform:translateY(-15px);transition:opacity .4s,transform .4s;}
.wid-right{display:flex;flex-direction:column;}
.wid-card{position:relative;border:1px solid rgba(91,200,245,.15);background:rgba(91,200,245,.02);cursor:none;transition:border-color .3s,background .3s;}
.wid-card:not(:last-child){border-bottom:none;}
.wid-card:hover{border-color:rgba(91,200,245,.5);background:rgba(91,200,245,.05);z-index:2;}
.wid-corner{position:absolute;width:14px;height:14px;border-color:rgba(91,200,245,.3);border-style:dashed;transition:border-color .3s,width .3s,height .3s;z-index:3;pointer-events:none;}
.wid-tl{top:6px;left:6px;border-width:1px 0 0 1px} .wid-tr{top:6px;right:6px;border-width:1px 1px 0 0}
.wid-bl{bottom:6px;left:6px;border-width:0 0 1px 1px} .wid-br{bottom:6px;right:6px;border-width:0 1px 1px 0}
.wid-card:hover .wid-corner{border-color:var(--blue);width:20px;height:20px;}
.wid-card-inner{padding:1.8rem 2rem;}
.wid-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
.wid-card-texts{display:flex;flex-direction:column;gap:.3rem;flex:1;}
.wid-card-title{font-family:var(--font-display);font-size:clamp(1.2rem,2vw,1.6rem);letter-spacing:.06em;color:#fff;line-height:1;}
.wid-card-sub{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(91,200,245,.55);}
.wid-arrow{font-size:1.5rem;color:var(--blue);transition:transform .45s cubic-bezier(.16,1,.3,1);flex-shrink:0;width:1.5rem;text-align:center;line-height:1;}
.wid-card:hover .wid-arrow{transform:rotate(180deg);}
.wid-card-desc{font-size:.82rem;font-weight:300;line-height:1.85;color:rgba(255,255,255,.7);margin-top:.9rem;}
.wid-card-body{max-height:0;overflow:hidden;opacity:0;margin-top:0;transition:max-height .5s cubic-bezier(.16,1,.3,1),opacity .35s ease,margin .4s ease;}
.wid-card:hover .wid-card-body{max-height:80px;opacity:1;margin-top:.9rem;}
.wid-tags{display:flex;flex-wrap:wrap;gap:.35rem;padding-bottom:.2rem;}
.wid-tag{font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);padding:.18rem .5rem;border:1px solid rgba(91,200,245,.3);background:rgba(91,200,245,.06);transition:all .2s;text-decoration:none;cursor:none;}
.wid-tag:hover{border-color:var(--blue);background:rgba(91,200,245,.18);color:#fff;box-shadow:0 0 10px rgba(91,200,245,.3);}
@media(max-width:700px){
  .section-whatido{padding:3rem 1.5rem 8rem;}
  .wid-layout{grid-template-columns:1fr;gap:2rem;}
  .wid-title{font-size:clamp(3rem,14vw,5rem)!important;}
  .wid-card{cursor:auto;} .wid-tag{cursor:auto;}
}