/* ===================================================
   Nabeel Mukhtar — Personal Site
   Design: funky, colorful, cream-background playful
   =================================================== */

/* 1. Variables */
:root {
  --bg:     #FFF6EA;
  --bg2:    #FFF0DC;
  --bg3:    #FFFFFF;
  --ink:    #241B3A;
  --ink2:   #5A4E72;
  --muted:  #8B7FA0;
  --white:  #FFFFFF;

  --coral:  #FF6A5C;
  --yellow: #FFC53D;
  --teal:   #15C4A6;
  --purple: #7C5CFF;
  --pink:   #FF5C9D;
  --blue:   #3D8BFF;

  --teal-bg:   #E8FAF7;
  --yellow-bg: #FFFAE8;
  --purple-bg: #F3F0FF;
  --coral-bg:  #FFF1EF;
  --pink-bg:   #FFF0F7;
  --blue-bg:   #EEF4FF;

  --shadow:       6px 6px 0 var(--ink);
  --shadow-sm:    4px 4px 0 var(--ink);
  --shadow-lg:    8px 8px 0 var(--ink);

  --r:    20px;
  --rs:   12px;
  --maxw: 1100px;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* 3. Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* 4. Typography helpers */
.sec-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.sec-title { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 28px; }
.text-muted { color: var(--muted); }
.text-ink2  { color: var(--ink2); }
.prose p    { color: var(--ink2); font-size: 17px; margin-bottom: 16px; max-width: 720px; }
.prose strong { color: var(--ink); }

/* Highlight marker */
mark.hl {
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 6px;
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 5. Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2.5px solid var(--ink);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 16px;
  flex: none;
  border: 2.5px solid var(--ink);
}
.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex: none;
}
.brand-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink2);
  transition: color 0.15s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
  transition: 0.2s;
}

/* 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-coral { background: var(--coral); color: var(--white); border-color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-teal { background: var(--teal); color: var(--ink); border-color: var(--ink); }
.btn-purple { background: var(--purple); color: var(--white); border-color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* 7. Cards */
.card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.card-pad { padding: 22px 24px 26px; }

/* 8. Chip pills */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

/* 9. Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  border-bottom: 2.5px solid var(--ink);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob-coral  { width: 380px; height: 380px; background: var(--coral);  top: -120px; right: -80px; }
.blob-yellow { width: 300px; height: 300px; background: var(--yellow); bottom: -60px; left: 15%; }
.blob-purple { width: 260px; height: 260px; background: var(--purple); top: 10%;   left: -80px; }
.blob-teal   { width: 280px; height: 280px; background: var(--teal);   bottom: 0;  right: 30%; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.5vw, 64px); margin-bottom: 16px; }
.hero-roles {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 18px;
}
.hero-intro {
  font-size: 17px;
  color: var(--ink2);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero social links */
.hero-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.social-pill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.social-pill-li { background: #EEF6FF; border-color: #0077B5; color: #0077B5; }
.social-pill-li .social-icon-mark { background: #0077B5; color: #fff; }
.social-pill-up { background: #F0FFF4; border-color: #14A800; color: #0D7A00; }
.social-pill-up .social-icon-mark { background: #14A800; color: #fff; }
.social-icon-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}

/* Avatar / photo */
.hero-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-frame {
  width: 280px;
  height: 340px;
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  background: var(--purple-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.avatar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.avatar-initials {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 36px;
  border: 2.5px solid var(--ink);
}
.avatar-hint { font-size: 13px; color: var(--muted); font-weight: 600; }

.sticker {
  position: absolute;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
}
.sticker-1 { top: 16px;   left: -28px;  transform: rotate(-4deg); }
.sticker-2 { bottom: 24px; right: -28px; transform: rotate(3deg); }

/* 10. Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  transform: translateY(-32px);
}
.stat-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat-card strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 32px;
  display: block;
  color: var(--ink);
}
.stat-card span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* 11. Section backgrounds */
.bg-white  { background: var(--white); }
.bg-cream  { background: var(--bg); }
.bg-cream2 { background: var(--bg2); }
.bg-teal   { background: var(--teal-bg); }
.bg-yellow { background: var(--yellow-bg); }
.bg-purple { background: var(--purple-bg); }
.bg-coral  { background: var(--coral-bg); }
.bg-pink   { background: var(--pink-bg); }
.bg-blue   { background: var(--blue-bg); }
.bg-ink    { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3, .bg-ink .sec-label { color: var(--white); }
.bg-ink .prose p { color: rgba(255,255,255,.75); }

/* Dividers */
.section-border-top    { border-top:    2.5px solid var(--ink); }
.section-border-bottom { border-bottom: 2.5px solid var(--ink); }

/* 12. Passion cards (home) */
.passion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.passion-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.passion-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.passion-icon { font-size: 32px; margin-bottom: 12px; }
.passion-card h3 { font-size: 17px; margin-bottom: 8px; }
.passion-card p  { font-size: 14px; color: var(--ink2); margin: 0; }

/* Tinted passion cards */
.passion-card:nth-child(1) { background: var(--teal-bg); }
.passion-card:nth-child(2) { background: var(--yellow-bg); }
.passion-card:nth-child(3) { background: var(--purple-bg); }
.passion-card:nth-child(4) { background: var(--coral-bg); }
.passion-card:nth-child(5) { background: var(--pink-bg); }
.passion-card:nth-child(6) { background: var(--blue-bg); }

/* 13. Places */
.places-list { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.place-pill {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.place-more { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 0; }

/* 14. Callout banner */
.callout-banner {
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 50px 60px;
  box-shadow: var(--shadow);
  text-align: center;
}
.callout-banner h2 { font-size: clamp(22px, 3.5vw, 36px); margin-bottom: 14px; }
.callout-banner p  { color: var(--ink2); font-size: 17px; margin-bottom: 26px; }

/* 15. Contact section */
.contact-box {
  background: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 60px 50px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-box h2 { font-size: clamp(24px, 4vw, 42px); color: var(--white); margin-bottom: 14px; }
.contact-box p  { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }
.contact-box .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-box .btn-outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.contact-box .btn-outline:hover { border-color: var(--white); box-shadow: 4px 4px 0 rgba(255,255,255,.3); }

/* 16. Experience timeline (work page) */
.timeline {
  border-left: 3px solid var(--ink);
  padding-left: 32px;
  margin-left: 8px;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -43px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.tl-year {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tl-role {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 2px;
}
.tl-co { font-size: 15px; color: var(--ink2); font-weight: 600; }

/* 17. Skills (grouped) */
.skill-group { margin-bottom: 28px; }
.skill-group-label {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* 18. Cert cards */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cert-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--purple-bg);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 20px;
  border: 2px solid var(--ink);
  flex: none;
}
.cert-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.cert-card span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* 19. Client logos */
.clients-list { display: flex; flex-wrap: wrap; gap: 12px; }
.client-badge {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s;
}
.client-badge:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

/* 20. Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.blog-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.blog-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: rgba(255,255,255,.9);
  border-bottom: 2.5px solid var(--ink);
  background: linear-gradient(135deg, var(--purple), var(--teal));
  overflow: hidden;
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-pad { padding: 20px 22px 24px; }
.blog-card-date { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card p  { font-size: 14px; color: var(--ink2); margin: 0; }

/* Blog section head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.link-arrow { color: var(--coral); font-weight: 700; font-size: 15px; transition: gap 0.12s; }
.link-arrow:hover { text-decoration: underline; }

/* 21. Single post */
.post-container { max-width: 760px; margin: 0 auto; }
.post-hero-img {
  height: 300px;
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  margin: 28px 0 36px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  color: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink2); }
.post-content h2, .post-content h3 { color: var(--ink); margin: 28px 0 12px; }
.post-content p  { margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--coral);
  padding: 12px 20px;
  background: var(--coral-bg);
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
}
.post-content img { border-radius: 12px; border: 2px solid var(--ink); margin: 20px 0; }
.post-content strong { color: var(--ink); }
.post-content code {
  background: var(--purple-bg);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  font-family: monospace;
}
.post-content pre {
  background: var(--ink);
  color: var(--teal);
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 20px 0;
}
.post-content pre code { background: none; border: none; padding: 0; color: inherit; }

/* 22. Social share */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  margin: 36px 0;
  flex-wrap: wrap;
}
.share-label { font-weight: 700; font-size: 14px; color: var(--muted); margin-right: 4px; }
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
}
.share-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.share-btn-x:hover       { background: #000; color: #fff; }
.share-btn-li:hover      { background: #0077B5; color: #fff; border-color: #0077B5; }
.share-btn-fb:hover      { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn-wa:hover      { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn-copy { font-size: 16px; }
.share-btn-copy.copied { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* 23. Page header */
.page-header { padding: 60px 0 20px; border-bottom: 2.5px solid var(--ink); }
.page-header h1 { font-size: clamp(30px, 5vw, 52px); margin: 12px 0 14px; }
.page-header p  { font-size: 17px; color: var(--ink2); max-width: 580px; }

/* 24. Shop grid */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.product-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.product-thumb {
  height: 160px;
  border-bottom: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: rgba(255,255,255,.9);
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-1 { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.product-thumb-2 { background: linear-gradient(135deg, var(--coral), var(--pink)); }
.product-thumb-3 { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.product-card-pad { padding: 20px 22px 24px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--teal);
  margin-bottom: 10px;
}
.product-card p  { font-size: 14px; color: var(--ink2); margin-bottom: 16px; }

/* 25. Footer */
.site-footer {
  background: var(--ink);
  padding: 52px 0 28px;
  border-top: 2.5px solid var(--ink);
  margin-top: 80px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand-mark { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-brand .brand-text { color: var(--white); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 10px;
}
.admin-link { color: rgba(255,255,255,.3); transition: color 0.15s; }
.admin-link:hover { color: rgba(255,255,255,.7); }

/* 26. Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.service-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.service-emoji { font-size: 36px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: var(--ink2); margin: 0; line-height: 1.65; }

/* Tinted service cards */
.service-card:nth-child(1) { background: var(--teal-bg); }
.service-card:nth-child(2) { background: var(--blue-bg); }
.service-card:nth-child(3) { background: var(--yellow-bg); }
.service-card:nth-child(4) { background: var(--purple-bg); }
.service-card:nth-child(5) { background: var(--coral-bg); }
.service-card:nth-child(6) { background: var(--pink-bg); }

/* 27. Work page hero */
.work-hero {
  padding: 60px 0 50px;
  border-bottom: 2.5px solid var(--ink);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.work-hero-inner { position: relative; z-index: 1; }
.work-intro { font-size: 18px; color: var(--ink2); max-width: 620px; margin-bottom: 26px; }

/* ===================================================
   ADMIN STYLES
   =================================================== */
.admin-page { background: #F7F5FF; min-height: 100vh; }
.admin-header {
  background: var(--ink);
  border-bottom: 2.5px solid var(--ink);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.admin-header .brand-mark { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.admin-header .brand-text { color: var(--white); }
.admin-header-actions { display: flex; gap: 10px; }
.admin-header .btn-outline { color: var(--white); border-color: rgba(255,255,255,.3); font-size: 13px; padding: 7px 16px; }
.admin-header .btn-outline:hover { border-color: var(--white); box-shadow: 3px 3px 0 rgba(255,255,255,.2); }

.admin-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  position: sticky;
  top: 96px;
}
.admin-nav-link {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink2);
  padding: 11px 16px;
  border-radius: 12px;
  transition: background 0.12s, color 0.12s;
  border: 2px solid transparent;
}
.admin-nav-link:hover { background: var(--white); color: var(--ink); }
.admin-nav-link.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.admin-nav-link.danger { color: var(--coral); }
.admin-nav-link.danger:hover { background: var(--coral-bg); color: var(--coral); border-color: var(--coral); }

.admin-main {}
.admin-panel {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-panel h2 { font-size: 22px; margin-bottom: 4px; }
.admin-panel .panel-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; font-weight: 600; }
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px 12px;
  border-bottom: 2px solid var(--ink);
}
.admin-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #EDE8F5;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .td-actions { display: flex; gap: 8px; align-items: center; }
.admin-table .td-actions a { font-weight: 700; font-size: 13px; }
.td-actions .edit-link  { color: var(--blue); }
.td-actions .delete-link { color: var(--coral); }

/* Status pills */
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.status-published { background: var(--teal-bg); color: var(--teal); border-color: var(--teal); }
.status-draft     { background: var(--bg2); color: var(--muted); border-color: var(--muted); }

/* Admin form fields */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 7px;
  color: var(--ink);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.input {
  width: 100%;
  padding: 12px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { outline: none; border-color: var(--purple); box-shadow: 3px 3px 0 var(--purple); }
textarea.input { min-height: 180px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle-label { font-weight: 700; font-size: 14px; color: var(--ink2); }
.toggle-input { display: none; }
.toggle-track {
  width: 46px;
  height: 26px;
  background: var(--muted);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: background 0.2s;
  flex: none;
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: left 0.2s;
}
.toggle-input:checked + .toggle-track { background: var(--teal); }
.toggle-input:checked + .toggle-track::after { left: 23px; }

/* SEO preview */
.seo-divider {
  border: none;
  border-top: 2.5px solid var(--ink);
  margin: 26px 0 20px;
}
.seo-section-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.seo-preview {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 8px;
}
.seo-preview .sp-title { color: #1a0dab; font-size: 18px; font-weight: 600; margin-bottom: 3px; font-family: 'Manrope', sans-serif; }
.seo-preview .sp-url   { color: #006621; font-size: 13px; margin-bottom: 3px; }
.seo-preview .sp-desc  { color: var(--ink2); font-size: 13px; }

/* Admin form actions bar */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 2.5px solid var(--ink);
}
.form-actions-right { display: flex; gap: 10px; align-items: center; }

/* Flash messages */
.flash {
  padding: 14px 18px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
.flash-success { background: var(--teal-bg); color: var(--teal); border-color: var(--teal); }
.flash-error   { background: var(--coral-bg); color: var(--coral); border-color: var(--coral); }

/* Login / Setup screens */
.auth-wrap {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.auth-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; font-weight: 500; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .photo-frame { width: 220px; height: 270px; }
  .sticker-1 { left: -10px; }
  .sticker-2 { right: -10px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .passion-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: row; flex-wrap: wrap; position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 2.5px solid var(--ink);
    align-items: flex-start;
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-link { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(36,27,58,.1); }
  .site-nav .btn { margin-top: 10px; }
  .callout-banner { padding: 36px 28px; }
  .contact-box { padding: 40px 28px; }
  .row2, .row3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .passion-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); transform: translateY(-20px); }
  .footer-grid { flex-direction: column; }
  .footer-links { gap: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
