/* ============================================================================
   OMAR SHAWQI — Portfolio 2.0
   style.css — Premium design system
   Design language: dark-first, minimal, glassmorphism where appropriate,
   single accent (electric cyan), subtle motion.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------------------- */
:root{
  /* Surface */
  --bg:            #030509;
  --bg-elevated:   #070a11;
  --bg-card:       #0a0e18;
  --bg-card-hover: #0d1320;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);

  /* Text */
  --text-1: #f5f7fa;
  --text-2: #aab2c5;
  --text-3: #6b7286;

  /* Accent — electric cyan */
  --accent:        #3fd0ff;
  --accent-dim:    #2aa8d4;
  --accent-glow:   rgba(63,208,255,0.35);
  --accent-soft:   rgba(63,208,255,0.08);
  --accent-border: rgba(63,208,255,0.25);

  /* Status */
  --green:  #34e197;
  --amber:  #ffc857;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, monospace;

  /* Rhythm */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --container: 1240px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.22s;
  --med: 0.45s;
  --slow: 0.8s;
}

[data-theme="light"]{
  --bg:            #f6f7fb;
  --bg-elevated:   #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f2f8;
  --border:        rgba(10,14,24,0.08);
  --border-strong: rgba(10,14,24,0.16);
  --text-1: #0b0e14;
  --text-2: #454c5c;
  --text-3: #7b8194;
  --accent-soft: rgba(20,140,180,0.07);
}

/* ---------------------------------------------------------------------------
   2. RESET
--------------------------------------------------------------------------- */
*, *::before, *::after{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input, textarea{ font-family:inherit; }
h1,h2,h3,h4{ line-height:1.15; font-weight:800; letter-spacing:-0.02em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 clamp(20px,5vw,48px); }
::selection{ background:var(--accent); color:#000; }

::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--accent-border); border-radius:4px; }
::-webkit-scrollbar-thumb:hover{ background:var(--accent); }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position:absolute; left:12px; top:-60px;
  background:var(--accent); color:#00131a; padding:10px 18px;
  border-radius: var(--radius-sm); font-weight:700; z-index:10000;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus{ top:12px; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   3. BACKDROP — grid / particles / glow
--------------------------------------------------------------------------- */
#bg-canvas{ position:fixed; inset:0; z-index:0; pointer-events:none; opacity:0.55; }

.bg-grid{
  position:fixed; inset:-10%; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
  opacity:0.5;
}

.bg-glow{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.bg-glow span{
  position:absolute; border-radius:50%; filter:blur(90px);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity:0.35; will-change:transform;
}
.bg-glow .g1{ width:520px; height:520px; top:-160px; left:-120px; animation: drift1 26s ease-in-out infinite alternate; }
.bg-glow .g2{ width:460px; height:460px; top:40%; right:-160px; background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 70%); animation: drift2 30s ease-in-out infinite alternate; }
.bg-glow .g3{ width:380px; height:380px; bottom:-100px; left:30%; animation: drift1 22s ease-in-out infinite alternate-reverse; }

@keyframes drift1{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(40px,60px,0); } }
@keyframes drift2{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(-50px,40px,0); } }

/* ---------------------------------------------------------------------------
   4. NAVBAR
--------------------------------------------------------------------------- */
.navbar{
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  height:var(--nav-h); padding:0 clamp(20px,5vw,48px);
  background: rgba(3,5,9,0.4);
  border-bottom:1px solid transparent;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), backdrop-filter var(--fast) var(--ease), padding var(--fast) var(--ease);
}
[data-theme="light"] .navbar{ background: rgba(246,247,251,0.5); }

.navbar.scrolled{
  background: rgba(3,5,9,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  height: 66px;
}
[data-theme="light"] .navbar.scrolled{ background: rgba(246,247,251,0.85); }

.nav-brand{ display:flex; align-items:center; gap:12px; font-weight:800; font-size:1.15rem; letter-spacing:-0.01em; }
.nav-mark{
  width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--accent-soft), transparent); border:1px solid var(--accent-border);
  color:var(--accent); font-family:var(--font-mono); font-weight:700; font-size:0.85rem;
}
.nav-brand .first{ color:var(--text-1); }
.nav-brand .last{ color:var(--accent); }

.nav-center{ display:flex; align-items:center; gap:2px; }
.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{
  position:relative; font-size:0.88rem; font-weight:600; color:var(--text-2);
  padding:9px 14px; border-radius:var(--radius-full); transition: color var(--fast), background var(--fast);
  white-space:nowrap;
}
.nav-links a:hover{ color:var(--text-1); background:var(--accent-soft); }
.nav-links a.active{ color:var(--accent); background:var(--accent-soft); }

.nav-right{ display:flex; align-items:center; gap:14px; }

.status-chip{
  display:inline-flex; align-items:center; gap:8px; font-size:0.78rem; font-weight:600;
  color: var(--green); background: rgba(52,225,151,0.08); border:1px solid rgba(52,225,151,0.3);
  padding:7px 14px; border-radius:var(--radius-full); white-space:nowrap;
}
.status-dot{ width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:0.4; transform:scale(1.3);} }

.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border); background:var(--bg-card);
  display:flex; align-items:center; justify-content:center; color:var(--text-2); transition: border-color var(--fast), color var(--fast);
  flex-shrink:0;
}
.theme-toggle:hover{ border-color:var(--accent-border); color:var(--accent); }
.theme-toggle svg{ width:17px; height:17px; }
.theme-toggle .icon-sun{ display:none; }
[data-theme="light"] .theme-toggle .icon-moon{ display:none; }
[data-theme="light"] .theme-toggle .icon-sun{ display:block; }

.cv-dropdown{ position:relative; }
.btn-cv{
  display:inline-flex; align-items:center; gap:8px; font-size:0.85rem; font-weight:700;
  padding:10px 18px; border-radius:var(--radius-full);
  background: var(--accent); color:#00151c; box-shadow: 0 0 0 1px rgba(0,0,0,0), 0 8px 22px -8px var(--accent-glow);
  transition: transform var(--fast), box-shadow var(--fast);
}
.btn-cv:hover{ transform:translateY(-2px); box-shadow:0 12px 28px -8px var(--accent-glow); }
.btn-cv svg{ width:14px; height:14px; }
.cv-menu{
  position:absolute; top:calc(100% + 10px); right:0; min-width:190px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:6px; opacity:0; visibility:hidden; transform:translateY(-6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
}
.cv-dropdown:hover .cv-menu, .cv-dropdown:focus-within .cv-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.cv-menu a{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-sm); font-size:0.85rem; font-weight:600; color:var(--text-2); }
.cv-menu a:hover{ background:var(--accent-soft); color:var(--accent); }

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px; width:40px; height:40px;
  border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--bg-card); flex-shrink:0;
}
.hamburger span{ width:18px; height:2px; background:var(--text-1); margin:0 auto; transition: transform var(--fast), opacity var(--fast); }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel — hidden entirely outside the mobile breakpoint */
#nav-menu{ display:none; }
.nav-overlay{ display:none; }

/* ---------------------------------------------------------------------------
   5. SECTION SCAFFOLDING
--------------------------------------------------------------------------- */
section{ position:relative; z-index:1; scroll-margin-top: 90px; }
.section-pad{ padding: clamp(70px,10vw,130px) 0; }
.eyebrow{
  display:flex; align-items:center; gap:12px; justify-content:center; margin-bottom:18px;
  font-size:0.78rem; font-weight:700; letter-spacing:0.22em; text-transform:uppercase; color:var(--accent);
}
.eyebrow::before, .eyebrow::after{ content:""; width:36px; height:1px; background: linear-gradient(90deg, transparent, var(--accent-border)); }
.eyebrow::after{ background: linear-gradient(90deg, var(--accent-border), transparent); }
.section-title{
  text-align:center; font-size:clamp(2rem,4.4vw,3.2rem); margin-bottom:16px;
}
.section-title .accent-word{ color:var(--accent); }
.section-sub{ text-align:center; max-width:640px; margin:0 auto 56px; color:var(--text-2); font-size:1.02rem; }

.reveal{ opacity:0; transform: translateY(28px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.reveal.in-view{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity var(--med) var(--ease), transform var(--med) var(--ease); }
.reveal-stagger.in-view > *{ opacity:1; transform:none; }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay:0.05s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay:0.12s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay:0.19s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay:0.26s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay:0.33s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay:0.4s; }
.reveal-stagger.in-view > *:nth-child(7){ transition-delay:0.47s; }
.reveal-stagger.in-view > *:nth-child(8){ transition-delay:0.54s; }
.reveal-stagger.in-view > *:nth-child(9){ transition-delay:0.61s; }

.divider{ height:1px; background: linear-gradient(90deg, transparent, var(--border), transparent); max-width:var(--container); margin:0 auto; }

/* ---------------------------------------------------------------------------
   6. BUTTONS
--------------------------------------------------------------------------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-size:0.92rem; font-weight:700; padding:15px 30px; border-radius:var(--radius-full);
  border:1px solid transparent; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast), background var(--fast);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-primary{ background:var(--accent); color:#00151c; box-shadow:0 10px 30px -10px var(--accent-glow); }
.btn-primary:hover{ transform: translateY(-3px); box-shadow:0 16px 36px -8px var(--accent-glow); }
.btn-outline{ background:var(--accent-soft); color:var(--text-1); border-color:var(--border-strong); }
.btn-outline:hover{ border-color:var(--accent-border); color:var(--accent); transform: translateY(-3px); }
.btn-ghost{ background:transparent; color:var(--text-2); border-color:var(--border); }
.btn-ghost:hover{ color:var(--text-1); border-color:var(--border-strong); }
.btn-sm{ padding:10px 18px; font-size:0.82rem; }
.btn-disabled{ background:var(--accent-soft); color:var(--text-3); border-color:var(--border); cursor:default; pointer-events:none; }
.btn-block{ width:100%; }

.magnetic{ will-change: transform; }

/* ---------------------------------------------------------------------------
   7. HERO
--------------------------------------------------------------------------- */
.hero{
  min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: calc(var(--nav-h) + 40px) clamp(20px,5vw,48px) 60px; position:relative;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:9px; font-size:0.8rem; font-weight:700;
  color:var(--green); background:rgba(52,225,151,0.08); border:1px solid rgba(52,225,151,0.3);
  padding:8px 18px; border-radius:var(--radius-full); margin-bottom:34px; letter-spacing:0.03em;
}
.hero-portrait{
  width:132px; height:132px; border-radius:50%; margin:0 auto 30px; position:relative;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(150deg, var(--accent-soft), rgba(99,102,241,0.06));
  border:1px solid var(--accent-border);
  font-family:var(--font-mono); font-weight:700; font-size:2.4rem; color:var(--accent);
  box-shadow: 0 0 0 1px var(--border), 0 20px 60px -20px var(--accent-glow);
}
.hero-portrait::after{
  content:""; position:absolute; inset:-10px; border-radius:50%;
  border:1px dashed var(--accent-border); animation: spin 30s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.hero-name{ font-size:clamp(0.95rem,1.4vw,1.1rem); letter-spacing:0.32em; color:var(--text-2); font-weight:700; margin-bottom:14px; text-transform:uppercase; }
.hero-headline{ font-size:clamp(2.6rem,6.4vw,5rem); max-width:920px; margin:0 auto 22px; letter-spacing:-0.03em; }
.hero-headline .line2{ color:var(--accent); }
.hero-role{ font-size:clamp(1rem,2vw,1.3rem); color:var(--text-2); font-weight:600; margin-bottom:22px; }
.hero-role .sep{ color:var(--accent); margin:0 10px; }
.hero-text{ max-width:660px; margin:0 auto 40px; color:var(--text-2); font-size:1.06rem; line-height:1.8; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-bottom:56px; }

.expertise-strip{
  width:100%; overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:18px 0; margin-top:10px;
}
.expertise-track{ display:flex; gap:48px; white-space:nowrap; animation: scrollX 32s linear infinite; width:max-content; }
.expertise-track span{ font-size:0.85rem; font-weight:600; letter-spacing:0.08em; color:var(--text-3); text-transform:uppercase; }
.expertise-track span.dot{ color:var(--accent); }
@keyframes scrollX{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------------------------------------------------------------------------
   8. INTRO — "More Than Code. I Build."
--------------------------------------------------------------------------- */
.intro-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; margin-bottom:60px; }
.intro-text h2{ font-size:clamp(1.9rem,3.6vw,2.6rem); margin-bottom:20px; }
.intro-text p{ color:var(--text-2); font-size:1.02rem; margin-bottom:16px; }

.build-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.build-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:26px 20px; transition: transform var(--fast) var(--ease), border-color var(--fast), box-shadow var(--fast);
  position:relative; overflow:hidden;
}
.build-card::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity var(--fast);
  background: radial-gradient(circle at 30% 0%, var(--accent-soft), transparent 70%);
}
.build-card:hover{ transform:translateY(-6px); border-color:var(--accent-border); box-shadow:0 20px 40px -18px var(--accent-glow); }
.build-card:hover::before{ opacity:1; }
.build-card .num{ font-family:var(--font-mono); font-size:0.75rem; color:var(--text-3); margin-bottom:16px; }
.build-card h3{ font-size:1rem; letter-spacing:0.06em; margin-bottom:10px; color:var(--accent); }
.build-card p{ font-size:0.88rem; color:var(--text-2); line-height:1.6; position:relative; z-index:1; }

/* ---------------------------------------------------------------------------
   9. ABOUT
--------------------------------------------------------------------------- */
.about-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; align-items:start; }
.about-portrait{
  aspect-ratio:1/1.05; border-radius:var(--radius-lg); border:1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.about-portrait::before{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 20%, var(--accent-soft), transparent 65%); }
.about-portrait .mono{ font-family:var(--font-mono); font-size:4.5rem; color:var(--accent); font-weight:700; opacity:0.85; position:relative; z-index:1; }
.about-portrait .hint{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); font-size:0.72rem; color:var(--text-3); }

.about-block{ margin-bottom:36px; }
.about-block:last-child{ margin-bottom:0; }
.about-block h3{ font-size:1.4rem; margin-bottom:14px; }
.about-block p{ color:var(--text-2); font-size:1.01rem; }
.check-list{ display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; color:var(--text-2); font-size:0.98rem; }
.check-list svg{ width:18px; height:18px; color:var(--accent); flex-shrink:0; margin-top:3px; }

/* ---------------------------------------------------------------------------
   10. PROJECTS
--------------------------------------------------------------------------- */
.project-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:44px; }
.filter-btn{
  font-size:0.82rem; font-weight:600; color:var(--text-2); background:var(--bg-card);
  border:1px solid var(--border); padding:9px 18px; border-radius:var(--radius-full);
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}
.filter-btn:hover{ color:var(--text-1); border-color:var(--border-strong); }
.filter-btn.active{ color:#00151c; background:var(--accent); border-color:var(--accent); }

.projects-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.project-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; transition: transform var(--fast) var(--ease), border-color var(--fast), box-shadow var(--fast);
  display:flex; flex-direction:column; position:relative;
}
.project-card:hover{ transform:translateY(-6px); border-color:var(--accent-border); box-shadow:0 30px 60px -24px rgba(0,0,0,0.55), 0 0 0 1px var(--accent-border); }

.pc-visual{
  height:200px; position:relative; overflow:hidden; flex-shrink:0;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--border);
}
.pc-visual::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:26px 26px; opacity:0.5;
}
.pc-visual .pc-icon{ width:56px; height:56px; color:var(--accent); opacity:0.85; position:relative; z-index:1; filter: drop-shadow(0 0 18px var(--accent-glow)); }
.pc-status{
  position:absolute; top:14px; right:14px; z-index:2; font-size:0.68rem; font-weight:700; letter-spacing:0.05em;
  padding:5px 12px; border-radius:var(--radius-full); text-transform:uppercase;
  background:rgba(0,0,0,0.4); border:1px solid var(--accent-border); color:var(--accent);
}
.pc-role{
  position:absolute; bottom:14px; left:14px; z-index:2; font-size:0.72rem; font-weight:700;
  padding:5px 12px; border-radius:var(--radius-full); background:rgba(0,0,0,0.4); border:1px solid var(--border-strong); color:var(--text-1);
}

.pc-body{ padding:26px 24px 24px; display:flex; flex-direction:column; gap:12px; flex:1; }
.pc-cat{ font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--accent); }
.pc-title{ font-size:1.32rem; }
.pc-desc{ color:var(--text-2); font-size:0.92rem; line-height:1.7; flex:1; }
.pc-tech{ display:flex; flex-wrap:wrap; gap:7px; margin-top:4px; }
.pc-tech span{ font-size:0.72rem; font-weight:600; color:var(--text-2); background:var(--bg-elevated); border:1px solid var(--border); padding:4px 10px; border-radius:6px; }
.pc-actions{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.pc-visual.has-image::before{ display:none; }
.pc-visual.has-image .pc-icon{ display:none; }
.pc-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transition: transform var(--fast) var(--ease); }
.project-card:hover .pc-img{ transform:scale(1.06); }

/* ---------------------------------------------------------------------------
   11. CASE STUDY MODAL
--------------------------------------------------------------------------- */
.modal-overlay{
  position:fixed; inset:0; z-index:3000; background:rgba(2,3,6,0.75); backdrop-filter:blur(6px);
  display:flex; align-items:flex-start; justify-content:center; padding:60px 20px;
  opacity:0; visibility:hidden; transition: opacity var(--fast) var(--ease), visibility var(--fast);
  overflow-y:auto;
}
.modal-overlay.open{ opacity:1; visibility:visible; }
.modal-box{
  background:var(--bg-elevated); border:1px solid var(--border-strong); border-radius:var(--radius-lg);
  max-width:840px; width:100%; padding:0; transform:translateY(24px) scale(0.98); transition: transform var(--fast) var(--ease);
  box-shadow:0 40px 100px -20px rgba(0,0,0,0.7);
}
.modal-overlay.open .modal-box{ transform:translateY(0) scale(1); }
.modal-head{ padding:32px 36px 24px; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.modal-head .pc-cat{ margin-bottom:8px; display:block; }
.modal-head h2{ font-size:1.8rem; }
.modal-close{ width:38px; height:38px; border-radius:50%; border:1px solid var(--border); background:var(--bg-card); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--text-2); transition: color var(--fast), border-color var(--fast); }
.modal-close:hover{ color:var(--accent); border-color:var(--accent-border); }
.modal-close svg{ width:16px; height:16px; }
.modal-body{ padding:28px 36px 36px; display:grid; gap:26px; }
.cs-gallery{ display:flex; gap:10px; overflow-x:auto; }
.cs-gallery:empty{ display:none; }
.cs-gallery img{ height:150px; width:auto; flex-shrink:0; border-radius:10px; border:1px solid var(--border); object-fit:cover; cursor:pointer; transition: border-color var(--fast); }
.cs-gallery img:hover{ border-color:var(--accent-border); }
.cs-block h4{ font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.cs-block p{ color:var(--text-2); font-size:0.96rem; line-height:1.75; }
.cs-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.cs-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.cs-tags span{ font-size:0.76rem; font-weight:600; background:var(--accent-soft); border:1px solid var(--accent-border); color:var(--accent); padding:5px 12px; border-radius:var(--radius-full); }
.modal-foot{ padding:22px 36px 32px; display:flex; gap:12px; flex-wrap:wrap; border-top:1px solid var(--border); }

/* ---------------------------------------------------------------------------
   12. EXPERIENCE TIMELINE
--------------------------------------------------------------------------- */
.timeline{ position:relative; max-width:820px; margin:0 auto; }
.timeline::before{
  content:""; position:absolute; left:29px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(180deg, var(--accent-border), var(--border) 90%);
}
.timeline-item{ position:relative; padding-left:76px; margin-bottom:44px; }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-dot{
  position:absolute; left:14px; top:2px; width:32px; height:32px; border-radius:50%;
  background:var(--bg-card); border:2px solid var(--accent-border); display:flex; align-items:center; justify-content:center;
  color:var(--accent); transition: border-color var(--fast), box-shadow var(--fast);
}
.timeline-item.in-view .timeline-dot{ border-color:var(--accent); box-shadow:0 0 0 6px var(--accent-soft); }
.timeline-dot svg{ width:14px; height:14px; }
.timeline-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px 28px;
  transition: border-color var(--fast), transform var(--fast);
}
.timeline-card:hover{ border-color:var(--accent-border); transform:translateX(4px); }
.tl-date{ display:inline-block; font-size:0.75rem; font-weight:700; letter-spacing:0.05em; color:var(--accent); background:var(--accent-soft); border:1px solid var(--accent-border); padding:5px 12px; border-radius:var(--radius-full); margin-bottom:14px; }
.timeline-card h3{ font-size:1.25rem; margin-bottom:4px; }
.timeline-card h4{ font-size:0.9rem; font-weight:600; color:var(--text-2); margin-bottom:12px; }
.timeline-card p{ color:var(--text-2); font-size:0.92rem; margin-bottom:14px; }
.tl-skills{ display:flex; flex-wrap:wrap; gap:7px; }
.tl-skills span{ font-size:0.7rem; font-weight:600; color:var(--text-2); background:var(--bg-elevated); border:1px solid var(--border); padding:4px 10px; border-radius:6px; }

/* ---------------------------------------------------------------------------
   13. SKILLS
--------------------------------------------------------------------------- */
.skills-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.skill-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:30px 26px; transition: transform var(--fast), border-color var(--fast), box-shadow var(--fast); }
.skill-card:hover{ transform:translateY(-5px); border-color:var(--accent-border); box-shadow:0 20px 40px -20px var(--accent-glow); }
.skill-head{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.skill-icon{ width:44px; height:44px; border-radius:12px; background:var(--accent-soft); border:1px solid var(--accent-border); display:flex; align-items:center; justify-content:center; color:var(--accent); flex-shrink:0; }
.skill-icon svg{ width:22px; height:22px; }
.skill-card h3{ font-size:1.08rem; }
.skill-note{ font-size:0.74rem; color:var(--text-3); margin-top:2px; font-weight:500; }
.skill-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.skill-tags span{ font-size:0.82rem; font-weight:600; color:var(--text-2); background:var(--bg-elevated); border:1px solid var(--border); padding:6px 13px; border-radius:8px; transition: border-color var(--fast), color var(--fast); }
.skill-tags span:hover{ border-color:var(--accent-border); color:var(--accent); }

/* ---------------------------------------------------------------------------
   14. VENTURES
--------------------------------------------------------------------------- */
.ventures-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.venture-card{
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated)); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:30px 24px; text-align:center; position:relative; overflow:hidden;
  transition: transform var(--fast) var(--ease), border-color var(--fast);
}
.venture-card:hover{ transform:translateY(-6px) scale(1.015); border-color:var(--accent-border); }
.venture-card::after{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 65%); opacity:0; transition:opacity var(--fast); }
.venture-card:hover::after{ opacity:1; }
.venture-icon{ width:52px; height:52px; margin:0 auto 18px; border-radius:14px; background:var(--accent-soft); border:1px solid var(--accent-border); display:flex; align-items:center; justify-content:center; color:var(--accent); position:relative; z-index:1; }
.venture-icon svg{ width:24px; height:24px; }
.venture-card h3{ font-size:1.08rem; margin-bottom:6px; position:relative; z-index:1; }
.venture-card p{ font-size:0.85rem; color:var(--text-2); position:relative; z-index:1; }
.venture-card.future{ border-style:dashed; }

/* Currently building */
.building-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.building-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); padding:22px 24px;
  display:flex; align-items:center; gap:16px; transition: border-color var(--fast), transform var(--fast);
}
.building-card:hover{ border-color:var(--accent-border); transform:translateY(-3px); }
.building-status{ width:12px; height:12px; border-radius:50%; flex-shrink:0; }
.building-status.active{ background:var(--green); box-shadow:0 0 10px var(--green); animation: pulseDot 1.8s ease-in-out infinite; }
.building-status.exploring{ background:var(--amber); box-shadow:0 0 10px var(--amber); }
.building-info h4{ font-size:0.98rem; margin-bottom:3px; }
.building-info span{ font-size:0.76rem; color:var(--text-3); font-weight:600; }

/* ---------------------------------------------------------------------------
   15. ACHIEVEMENTS
--------------------------------------------------------------------------- */
.achieve-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:50px; }
.achieve-stat{ text-align:center; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px 20px; }
.achieve-stat .num{ font-size:2.6rem; font-weight:800; color:var(--accent); font-family:var(--font-mono); }
.achieve-stat .label{ font-size:0.85rem; color:var(--text-2); margin-top:8px; }

.achieve-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.achieve-item{ display:flex; gap:16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); padding:22px; }
.achieve-item .ai-icon{ width:40px; height:40px; border-radius:10px; background:var(--accent-soft); border:1px solid var(--accent-border); display:flex; align-items:center; justify-content:center; color:var(--accent); flex-shrink:0; }
.achieve-item .ai-icon svg{ width:20px; height:20px; }
.achieve-item h4{ font-size:0.98rem; margin-bottom:5px; }
.achieve-item p{ font-size:0.85rem; color:var(--text-2); }
.achieve-item .ai-tag{ font-size:0.68rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-3); }

/* ---------------------------------------------------------------------------
   16. CERTIFICATIONS
--------------------------------------------------------------------------- */
.cert-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.cert-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px; transition: transform var(--fast), border-color var(--fast); display:flex; flex-direction:column; gap:14px; }
.cert-card:hover{ transform:translateY(-5px); border-color:var(--accent-border); }
.cert-card.placeholder{ border-style:dashed; opacity:0.7; }
.cert-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.cert-icon{ width:44px; height:44px; border-radius:12px; background:var(--accent-soft); border:1px solid var(--accent-border); display:flex; align-items:center; justify-content:center; color:var(--accent); flex-shrink:0; }
.cert-icon svg{ width:22px; height:22px; }
.cert-cat{ font-size:0.68rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-3); background:var(--bg-elevated); border:1px solid var(--border); padding:4px 10px; border-radius:var(--radius-full); }
.cert-card h3{ font-size:1.08rem; }
.cert-org{ font-size:0.85rem; color:var(--text-2); }
.cert-year{ font-size:0.78rem; color:var(--text-3); font-family:var(--font-mono); }

/* ---------------------------------------------------------------------------
   17. SOCIAL IMPACT
--------------------------------------------------------------------------- */
.impact-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.impact-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:30px; transition: transform var(--fast), border-color var(--fast); }
.impact-card:hover{ transform:translateY(-4px); border-color:var(--accent-border); }
.impact-icon{ width:48px; height:48px; border-radius:12px; background:var(--accent-soft); border:1px solid var(--accent-border); display:flex; align-items:center; justify-content:center; color:var(--accent); margin-bottom:18px; }
.impact-icon svg{ width:23px; height:23px; }
.impact-card h3{ font-size:1.15rem; margin-bottom:8px; }
.impact-card p{ font-size:0.92rem; color:var(--text-2); }
.impact-card .status-tag{ display:inline-block; margin-top:14px; font-size:0.72rem; font-weight:700; color:var(--accent); background:var(--accent-soft); border:1px solid var(--accent-border); padding:4px 12px; border-radius:var(--radius-full); }

/* ---------------------------------------------------------------------------
   18. ROADMAP
--------------------------------------------------------------------------- */
.roadmap{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; }
.roadmap::before{ content:""; position:absolute; top:22px; left:5%; right:5%; height:2px; background:linear-gradient(90deg, var(--accent-border), var(--border)); z-index:0; }
.road-item{ position:relative; z-index:1; text-align:center; }
.road-dot{ width:44px; height:44px; border-radius:50%; background:var(--bg-card); border:2px solid var(--accent-border); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; color:var(--accent); font-family:var(--font-mono); font-weight:700; font-size:0.78rem; transition: border-color var(--fast), box-shadow var(--fast); }
.road-item.in-view .road-dot{ border-color:var(--accent); box-shadow:0 0 0 6px var(--accent-soft); }
.road-item h4{ font-size:0.95rem; margin-bottom:8px; color:var(--accent); }
.road-item p{ font-size:0.84rem; color:var(--text-2); }

/* ---------------------------------------------------------------------------
   19. CONTACT
--------------------------------------------------------------------------- */
.contact-cta{ text-align:center; margin-bottom:56px; }
.contact-cta h2{ font-size:clamp(2.1rem,4.6vw,3.4rem); margin-bottom:16px; }
.contact-cta p{ color:var(--text-2); max-width:560px; margin:0 auto 32px; font-size:1.02rem; }
.contact-socials{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.social-pill{
  display:inline-flex; align-items:center; gap:10px; padding:13px 22px; border-radius:var(--radius-full);
  border:1px solid var(--border); background:var(--bg-card); color:var(--text-1); font-weight:600; font-size:0.9rem;
  transition: border-color var(--fast), transform var(--fast), color var(--fast);
}
.social-pill:hover{ border-color:var(--accent-border); color:var(--accent); transform:translateY(-3px); }
.social-pill svg{ width:18px; height:18px; }

.contact-form-wrap{
  max-width:760px; margin:56px auto 0; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:clamp(28px,5vw,48px);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.form-group{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.form-group:last-of-type{ margin-bottom:0; }
.form-group label{ font-size:0.82rem; font-weight:600; color:var(--text-2); }
.form-group input, .form-group textarea{
  background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:13px 16px; color:var(--text-1); font-size:0.95rem; transition: border-color var(--fast), box-shadow var(--fast);
}
.form-group input:focus, .form-group textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.form-group textarea{ resize:vertical; min-height:130px; }
.form-error{ font-size:0.75rem; color:#ff6b6b; min-height:14px; }
.form-status{ margin-top:18px; padding:13px 16px; border-radius:var(--radius-sm); font-size:0.88rem; display:none; }
.form-status.show{ display:block; }
.form-status.success{ background:rgba(52,225,151,0.1); border:1px solid rgba(52,225,151,0.35); color:var(--green); }
.form-status.error{ background:rgba(255,107,107,0.1); border:1px solid rgba(255,107,107,0.35); color:#ff6b6b; }

/* ---------------------------------------------------------------------------
   20. FOOTER
--------------------------------------------------------------------------- */
footer{ border-top:1px solid var(--border); padding:56px 0 32px; position:relative; z-index:1; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; margin-bottom:40px; }
.footer-brand h3{ font-size:1.3rem; margin-bottom:8px; }
.footer-brand h3 .last{ color:var(--accent); }
.footer-brand p{ color:var(--text-2); font-size:0.9rem; max-width:280px; }
.footer-links{ display:flex; gap:32px; flex-wrap:wrap; }
.footer-col h4{ font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-3); margin-bottom:14px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:0.9rem; color:var(--text-2); transition:color var(--fast); }
.footer-col a:hover{ color:var(--accent); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--text-2); transition: color var(--fast), border-color var(--fast); }
.footer-social a:hover{ color:var(--accent); border-color:var(--accent-border); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; border-top:1px solid var(--border); font-size:0.82rem; color:var(--text-3); flex-wrap:wrap; gap:12px; }

/* Back to top */
.back-to-top{
  position:fixed; bottom:28px; right:28px; width:48px; height:48px; border-radius:50%;
  background:var(--accent); color:#00151c; display:flex; align-items:center; justify-content:center;
  z-index:900; opacity:0; visibility:hidden; transform:translateY(12px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  box-shadow:0 12px 30px -10px var(--accent-glow);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }
.back-to-top svg{ width:20px; height:20px; }

/* ---------------------------------------------------------------------------
   21. OMAR.OS
--------------------------------------------------------------------------- */
.omaros-toggle{
  position:fixed; bottom:28px; left:28px; z-index:900; display:flex; align-items:center; gap:9px;
  background:var(--bg-card); border:1px solid var(--border-strong); color:var(--text-1);
  padding:12px 18px; border-radius:var(--radius-full); font-family:var(--font-mono); font-size:0.8rem; font-weight:600;
  box-shadow:0 16px 32px -14px rgba(0,0,0,0.6); transition: border-color var(--fast), transform var(--fast);
}
.omaros-toggle:hover{ border-color:var(--accent-border); transform:translateY(-3px); }
.omaros-toggle .blip{ width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px var(--accent); animation:pulseDot 1.8s ease-in-out infinite; }

.omaros-window{
  position:fixed; bottom:96px; left:28px; width:min(380px, calc(100vw - 56px)); z-index:950;
  background:rgba(6,9,15,0.92); border:1px solid var(--border-strong); border-radius:var(--radius-md);
  backdrop-filter:blur(18px); box-shadow:0 30px 70px -20px rgba(0,0,0,0.7);
  opacity:0; visibility:hidden; transform: translateY(16px) scale(0.97); transform-origin:bottom left;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  overflow:hidden;
}
.omaros-window.open{ opacity:1; visibility:visible; transform:none; }
.omaros-bar{ display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--border); }
.omaros-dots{ display:flex; gap:7px; }
.omaros-dots span{ width:10px; height:10px; border-radius:50%; }
.omaros-dots span:nth-child(1){ background:#ff5f56; }
.omaros-dots span:nth-child(2){ background:#ffbd2e; }
.omaros-dots span:nth-child(3){ background:#27c93f; }
.omaros-title{ font-family:var(--font-mono); font-size:0.76rem; color:var(--text-2); }
.omaros-close{ color:var(--text-3); background:none; border:none; font-size:1rem; line-height:1; }
.omaros-close:hover{ color:var(--text-1); }
.omaros-body{ padding:16px; font-family:var(--font-mono); font-size:0.82rem; height:260px; overflow-y:auto; }
.omaros-line{ color:var(--text-2); margin-bottom:8px; line-height:1.6; }
.omaros-line .prompt{ color:var(--accent); }
.omaros-cmds{ display:flex; flex-direction:column; gap:6px; margin-top:10px; }
.omaros-cmd{ text-align:left; background:none; border:none; color:var(--text-2); font-family:var(--font-mono); font-size:0.8rem; padding:5px 0; transition:color var(--fast); }
.omaros-cmd:hover{ color:var(--accent); }
.omaros-cmd::before{ content:"$ "; color:var(--accent); }
.omaros-input-row{ display:flex; align-items:center; gap:8px; border-top:1px solid var(--border); padding:12px 16px; }
.omaros-input-row .prompt{ color:var(--accent); font-family:var(--font-mono); font-size:0.82rem; }
.omaros-input{ flex:1; background:none; border:none; color:var(--text-1); font-family:var(--font-mono); font-size:0.82rem; }
.omaros-input:focus{ outline:none; }

/* ---------------------------------------------------------------------------
   22. LOADER
--------------------------------------------------------------------------- */
#loader{
  position:fixed; inset:0; z-index:5000; background:var(--bg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
#loader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-mark{ font-family:var(--font-mono); font-weight:700; font-size:1.6rem; color:var(--accent); letter-spacing:0.1em; }
.loader-bar{ width:160px; height:2px; background:var(--border); border-radius:2px; overflow:hidden; }
.loader-bar::after{ content:""; display:block; width:40%; height:100%; background:var(--accent); animation: loaderMove 1.1s ease-in-out infinite; }
@keyframes loaderMove{ 0%{ transform:translateX(-100%); } 100%{ transform:translateX(350%); } }

/* ---------------------------------------------------------------------------
   23. RESPONSIVE
--------------------------------------------------------------------------- */
@media (max-width:1080px){
  .nav-links{ display:none; }
  .about-grid{ grid-template-columns:1fr; }
  .about-portrait{ max-width:320px; margin:0 auto; }
  .ventures-grid{ grid-template-columns:repeat(2,1fr); }
  .roadmap{ grid-template-columns:repeat(2,1fr); gap:36px; }
  .roadmap::before{ display:none; }
}

@media (max-width:900px){
  .hamburger{ display:flex; }
  .nav-center{ display:none; }
  .status-chip{ display:none; }
  .intro-grid{ grid-template-columns:1fr; gap:34px; }
  .build-cards{ grid-template-columns:repeat(2,1fr); }
  .projects-grid{ grid-template-columns:1fr; }
  .skills-grid{ grid-template-columns:repeat(2,1fr); }
  .achieve-grid{ grid-template-columns:repeat(2,1fr); }
  .achieve-list{ grid-template-columns:1fr; }
  .cert-grid{ grid-template-columns:repeat(2,1fr); }
  .impact-grid{ grid-template-columns:1fr; }
  .building-grid{ grid-template-columns:1fr; }
  .cs-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }

  #nav-menu{
    display:flex; position:fixed; top:0; right:0; height:100vh; width:min(320px,84vw);
    background:var(--bg-elevated); border-left:1px solid var(--border);
    flex-direction:column; gap:6px; padding:100px 28px 40px;
    transform:translateX(100%); transition: transform var(--med) var(--ease); z-index:999;
    overflow-y:auto;
  }
  #nav-menu.open{ transform:translateX(0); }
  #nav-menu a{ display:block; font-size:1.05rem; padding:12px 6px; color:var(--text-1); border-bottom:1px solid var(--border); }
  #nav-menu a.active{ color:var(--accent); }
  #nav-menu .mobile-extra{ margin-top:20px; display:flex; flex-direction:column; gap:12px; }

  .nav-overlay{ display:block; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:998; opacity:0; visibility:hidden; transition: opacity var(--med), visibility var(--med); }
  .nav-overlay.open{ opacity:1; visibility:visible; }
}

@media (max-width:640px){
  .build-cards{ grid-template-columns:1fr; }
  .skills-grid{ grid-template-columns:1fr; }
  .achieve-grid{ grid-template-columns:1fr 1fr; }
  .cert-grid{ grid-template-columns:1fr; }
  .ventures-grid{ grid-template-columns:1fr; }
  .roadmap{ grid-template-columns:1fr; }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn{ width:100%; }
  .contact-socials{ flex-direction:column; width:100%; }
  .social-pill{ justify-content:center; }
  .footer-grid{ flex-direction:column; }
  .omaros-window{ left:14px; right:14px; width:auto; }
  .omaros-toggle{ left:14px; bottom:14px; padding:10px 14px; }
  .back-to-top{ right:14px; bottom:14px; width:44px; height:44px; }
}
