/* ==========================================================
   SADDAM PORTFOLIO v1 — Clean Professional Light Theme
   Palette: White · Slate · Indigo accent · Navy headings
   Fonts: Bricolage Grotesque (headings) + Inter (body)
   ========================================================== */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Background layers */
  --bg:        #FFFFFF;
  --bg-soft:   #F8F9FC;
  --bg-muted:  #F1F3F8;
  --bg-card:   #FFFFFF;

  /* Text */
  --text-heading: #0F1628;
  --text-body:    #374151;
  --text-muted:   #6B7280;
  --text-faint:   #9CA3AF;

  /* Borders */
  --border:    #E5E7EB;
  --border-md: #D1D5DB;

  /* Brand accent — indigo */
  --accent:        #4F46E5;
  --accent-hover:  #4338CA;
  --accent-light:  #EEF2FF;
  --accent-border: #C7D2FE;
  --accent-mid:    rgba(79,70,229,0.12);

  /* Status */
  --green:     #10B981;
  --green-bg:  #ECFDF5;
  --green-bdr: #A7F3D0;

  /* Fonts */
  --f-head: 'Bricolage Grotesque', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --wrap: 1200px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);

  /* Motion */
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; left: 1rem; z-index: 9999; padding: .6rem 1.25rem; background: var(--accent); color: #fff; font-weight: 600; border-radius: var(--r-sm); font-family: var(--f-head); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }
p  { color: var(--text-body); }
p + p { margin-top: .875rem; }

/* eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section    { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--text-heading); }

/* section header */
.sec-hd { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-hd h2 { margin-bottom: .625rem; }
.sec-hd p { font-size: 1.0625rem; color: var(--text-muted); max-width: 540px; line-height: 1.75; }
.sec-hd.center { text-align: center; }
.sec-hd.center p { margin: 0 auto; }
.sec-hd.center .eyebrow { justify-content: center; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79,70,229,.3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border-md);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.125rem; font-size: .875rem; }
.btn-group { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ── BADGE / TAG ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .6rem;
}
.badge-accent { color: var(--accent); background: var(--accent-light); border-color: var(--accent-border); }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.site-title { margin: 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.03em; }
.site-title a { color: var(--text-heading); display: flex; align-items: center; gap: .5rem; }
.site-title a:hover { color: var(--accent); }
.logo-sq {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 800; font-size: .9375rem; color: #fff;
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.site-title a:hover .logo-sq { transform: rotate(-6deg); }

/* Nav */
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.main-navigation a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .375rem .75rem;
  border-radius: var(--r-sm);
  transition: all .18s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--text-heading);
  background: var(--bg-muted);
}
.nav-hire > a {
  background: var(--accent) !important;
  color: #fff !important;
  padding: .5rem 1.125rem !important;
  border-radius: var(--r-md) !important;
  font-weight: 600 !important;
}
.nav-hire > a:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(79,70,229,.3) !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-md);
  color: var(--text-body);
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  transition: all .18s;
}
.menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Subtle mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(79,70,229,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(16,185,129,.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #D1D5DB 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 6vh, 5rem) 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: #059669;
  margin-bottom: 1.625rem;
  animation: fade-up .6s var(--ease) both;
}
.dot-green {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-headline {
  margin-bottom: 1.5rem;
  animation: fade-up .6s .08s var(--ease) both;
}
.hero-headline .accent-word {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-headline .accent-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--accent);
  opacity: .3;
  border-radius: 2px;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.25rem;
  animation: fade-up .6s .16s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fade-up .6s .24s var(--ease) both;
}

.hero-stack-row {
  animation: fade-up .6s .32s var(--ease) both;
}
.hero-stack-label {
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .625rem;
}
.stack-tags { display: flex; flex-wrap: wrap; gap: .375rem; }

/* Hero stats card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  animation: fade-up .6s .1s var(--ease) both;
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.hc-avatar {
  width: 100%; height: auto;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 800; font-size: 1.125rem; color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.hc-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform .4s ease;
}
.hc-avatar:hover img{
    transform: scale(1.08);
}
.hc-name { font-weight: 700; color: var(--text-heading); font-size: 1rem; line-height: 1.2; }
.hc-role { font-size: .8125rem; color: var(--text-muted); margin-top: .125rem; }
.hc-badge {
  margin-left: auto;
  display: flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 600;
  color: #059669;
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  border-radius: 100px;
  padding: .25rem .625rem;
  white-space: nowrap;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.stat-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--f-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-lbl { font-size: .75rem; color: var(--text-muted); margin-top: .25rem; font-weight: 500; }
.hc-upwork {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .8125rem;
  color: var(--text-muted);
}
.hc-upwork i { color: #14A800; }
.hc-upwork strong { color: var(--text-heading); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── REVEAL ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ── SERVICES ───────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #818CF8);
  opacity: 0;
  transition: opacity .3s;
}
.svc-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all .3s var(--ease);
}
.svc-card:hover .svc-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.svc-num {
  font-family: var(--f-mono);
  font-size: .6875rem;
  color: var(--text-faint);
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.svc-card h3 { font-size: 1.0625rem; margin-bottom: .625rem; color: var(--text-heading); }
.svc-card p { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.svc-link {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: gap .2s;
}
.svc-link:hover { color: var(--accent-hover); gap: .6rem; }

/* ── PROJECTS ───────────────────────────────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}
.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.proj-card.feat { grid-column: span 2; }
.proj-img {
  width: 100%; height: 220px;
  overflow: hidden;
  background: var(--bg-muted);
  position: relative;
  flex-shrink: 0;
}
.proj-card.feat .proj-img { height: 280px; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proj-card:hover .proj-img img { transform: scale(1.05); }
.proj-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-soft) 100%);
}
.proj-ph i { font-size: 2.5rem; color: var(--accent); opacity: .2; }
.proj-metric {
  position: absolute;
  top: .875rem; right: .875rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .3rem .75rem;
  font-family: var(--f-mono);
  font-size: .6875rem;
  color: var(--accent);
  font-weight: 600;
  display: flex; align-items: center; gap: .3rem;
  box-shadow: var(--shadow-sm);
}
.proj-body { padding: 1.625rem; display: flex; flex-direction: column; flex: 1; }
.proj-cat {
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  font-weight: 500;
}
.proj-title { font-size: 1.0625rem; margin-bottom: .5rem; }
.proj-title a { color: var(--text-heading); transition: color .2s; }
.proj-title a:hover { color: var(--accent); }
.proj-desc { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.proj-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1.125rem; }
.proj-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .875rem;
  border-top: 1px solid var(--border);
}
.proj-links { display: flex; gap: .5rem; }
.proj-lnk {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .375rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  transition: all .2s;
}
.proj-lnk:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.proj-lnk.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.proj-lnk.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.82; }
.about-text p + p { margin-top: .875rem; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.skill-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: .625rem .875rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all .2s;
}
.skill-item i { color: var(--accent); font-size: .875rem; width: 14px; flex-shrink: 0; }
.skill-item:hover { border-color: var(--accent-border); color: var(--accent); background: var(--accent-light); }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.875rem;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease);
}
.testi-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.testi-stars { color: #F59E0B; font-size: .875rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-text {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 1.5rem;
  flex: 1;
  font-style: italic;
}
.testi-foot {
  display: flex; align-items: center; gap: .875rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #818CF8);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: .875rem; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--text-heading); font-size: .9375rem; line-height: 1.25; }
.testi-role { font-size: .8125rem; color: var(--text-muted); margin-top: .125rem; }

.upwork-verified {
  display: inline-flex; align-items: center; gap: .625rem;
  margin-top: 2.5rem;
  padding: .875rem 1.5rem;
  background: var(--green-bg);
  border: 1px solid var(--green-bdr);
  border-radius: var(--r-lg);
  font-size: .9rem;
  font-weight: 600;
  color: #059669;
  text-decoration: none;
  transition: all .2s;
}
.upwork-verified:hover { background: #D1FAE5; color: #059669; transform: translateY(-2px); }

/* ── PLUGINS ────────────────────────────────────────────── */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.25rem; }
.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.875rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: all .25s var(--ease);
}
.plugin-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plugin-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; color: var(--accent);
  transition: all .25s var(--ease);
}
.plugin-card:hover .plugin-icon { background: var(--accent); color: #fff; }
.plugin-info h3 { font-size: 1rem; margin-bottom: .4rem; }
.plugin-info p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .875rem; }
.plugin-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .875rem; }

/* ── BLOG ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease);
}
.post-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.post-thumb { width: 100%; height: 200px; overflow: hidden; background: var(--bg-muted); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-muted); }
.post-ph i { font-size: 2rem; color: var(--accent); opacity: .2; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: .75rem; font-size: .8125rem; color: var(--text-faint); margin-bottom: .625rem; flex-wrap: wrap; }
.post-cat { color: var(--accent); font-weight: 500; }
.post-card h3 { font-size: 1.0625rem; line-height: 1.4; margin-bottom: .5rem; }
.post-card h3 a { color: var(--text-heading); }
.post-card h3 a:hover { color: var(--accent); }
.post-exc { font-size: .9rem; color: var(--text-muted); line-height: 1.67; flex: 1; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: .875rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.read-more:hover { color: var(--accent-hover); gap: .55rem; }

/* ── SINGLE BLOG POST ───────────────────────────────────── */
.single-hero { padding: calc(70px + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2rem, 4vw, 3rem); }
.entry-content {
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.85;
}
.entry-content h2, .entry-content h3 { margin: 2.25rem 0 .875rem; }
.entry-content p { margin-bottom: 1.5rem; color: var(--text-body); }
.entry-content a { color: var(--accent); border-bottom: 1px solid var(--accent-border); }
.entry-content a:hover { color: var(--accent-hover); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.entry-content li { margin-bottom: .375rem; }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--accent-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-muted);
}
.entry-content code {
  font-family: var(--f-mono);
  font-size: .875em;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .15rem .4rem;
  color: var(--accent);
}
.entry-content pre {
  background: var(--text-heading);
  color: #E2E8F0;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.75rem 0;
}
.entry-content pre code { background: none; border: none; padding: 0; color: inherit; }
.post-nav {
  display: flex; justify-content: space-between; gap: 2rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pn-label { font-size: .75rem; color: var(--text-faint); font-weight: 500; margin-bottom: .3rem; }
.pn-title { font-size: .9375rem; font-weight: 600; color: var(--text-heading); line-height: 1.35; }
.pn-title:hover { color: var(--accent); }
.pn-next { text-align: right; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.c-method {
  display: flex; align-items: center; gap: .875rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .2s;
  text-decoration: none;
}
.c-method:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); background: var(--accent-light); }
.c-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: .9375rem; flex-shrink: 0;
  transition: all .2s;
}
.c-method:hover .c-icon { background: var(--accent); color: #fff; }
.c-text h4 { font-size: .9375rem; color: var(--text-heading); margin-bottom: .125rem; }
.c-text p { font-size: .8125rem; color: var(--text-muted); margin: 0; }
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.contact-form-box h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.fg { margin-bottom: 1.125rem; }
.fg label { display: block; font-size: .875rem; font-weight: 600; color: var(--text-heading); margin-bottom: .4rem; }
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-md);
  color: var(--text-body);
  font-family: var(--f-body);
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-faint); }
.fg textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── SERVICES PAGE ──────────────────────────────────────── */
.svc-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  transition: all .25s var(--ease);
}
.svc-detail:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.svc-detail-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.svc-detail-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--accent);
}
.svc-detail h2 { font-size: 1.5rem; }
.svc-detail > p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.svc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
.svc-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--text-muted); padding: .375rem 0;
}
.svc-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: .05rem; }
.svc-price {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem;
  padding: .5rem 1rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: .8125rem;
  color: var(--accent); font-weight: 600;
}

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.page-hero { padding: calc(70px + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(2rem, 4vw, 3rem); }
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--accent), transparent); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item::before {
  content: ''; position: absolute;
  left: -2.25rem; top: .375rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}
.tl-date { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; color: var(--accent); margin-bottom: .375rem; text-transform: uppercase; }
.tl-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.tl-co { font-size: .875rem; color: var(--text-muted); margin-bottom: .5rem; }
.tl-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.72; }

/* ── CTA ────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E1B4B 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { color: #fff; margin-bottom: .875rem; }
.cta-inner p { color: rgba(255,255,255,.7); font-size: 1.125rem; margin-bottom: 2.25rem; }
.cta-inner .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-inner .btn-primary:hover { background: #F5F3FF; color: var(--accent-hover); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.cta-inner .btn-outline { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.cta-inner .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.cta-email { margin-top: 1.5rem; font-size: .875rem; color: rgba(255,255,255,.55); }
.cta-email a { color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.3); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--text-heading);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.75rem;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.75rem;
}
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.55); max-width: 280px; margin: .75rem 0 1.25rem; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: .5rem; font-family: var(--f-head); font-size: 1.125rem; font-weight: 800; color: #fff; }
.footer-social { display: flex; gap: .5rem; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .875rem;
  transition: all .2s;
}
.soc-btn:hover { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.f-col h4 { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .875rem; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: .4rem; }
.f-col a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .2s; }
.f-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ── GENERIC PAGE ───────────────────────────────────────── */
.generic-page { padding: calc(70px + 3rem) 0 4rem; }

/* ── FILTER ─────────────────────────────────────────────── */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.f-btn {
  font-size: .8125rem; font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .4rem .875rem;
  cursor: pointer; transition: all .2s;
}
.f-btn:hover, .f-btn.active {
  background: var(--accent-light);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ── RESULTS ────────────────────────────────────────────── */
.results-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 2rem 0; }
.result-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem; text-align: center; }
.result-num { font-family: var(--f-head); font-size: 1.875rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; display: block; line-height: 1; }
.result-lbl { font-size: .8125rem; color: var(--text-muted); margin-top: .3rem; }

/* ── UTILS ──────────────────────────────────────────────── */
.tc { text-align: center; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1.5rem; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 500px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card.feat { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-navigation ul {
    display: none; position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 1rem 0 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-navigation ul.open { display: flex; }
  .main-navigation li { border-bottom: 1px solid var(--border); }
  .main-navigation a { display: block; padding: .875rem 1.5rem; border-radius: 0; }
  .main-navigation a:hover { background: var(--bg-soft); }
  .nav-hire { padding: .875rem 1.5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .svc-list { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
  .skill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions, .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-box { padding: 1.5rem; }
}
@media print {
  .site-header, .site-footer, .btn, .menu-toggle { display: none; }
  body { color: #000; }
}
