/* ============================================================
   REFINED.CSS — Final editorial polish layer
   Magazine-grade refinement: manifesto block, drop caps,
   decorative SVG accents, refined project gallery numbering.
   ============================================================ */

/* ╔═════════════════════════════════════════════════════════╗
   ║ 1. MANIFESTO BLOCK — the cinematic editorial moment     ║
   ╚═════════════════════════════════════════════════════════╝ */
.ck-manifesto {
  padding: 140px 0 130px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(10,10,20,0.06);
  border-bottom: 1px solid rgba(10,10,20,0.06);
}
.ck-manifesto::before {
  content: '';
  position: absolute;
  top: 60px; right: 8%;
  width: 320px; height: 320px;
  background: radial-gradient(closest-side, rgba(0,180,255,0.10), transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}
.ck-manifesto::after {
  content: '*';
  position: absolute;
  top: 80px; right: 10%;
  font-family: var(--ck-display, 'Fraunces', serif);
  font-size: 240px;
  line-height: 1;
  color: rgba(0, 100, 255, 0.10);
  font-weight: 900;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  pointer-events: none;
  user-select: none;
}
.ck-manifesto-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.ck-manifesto-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}
.ck-manifesto-issue,
.ck-manifesto-tag {
  font-family: var(--ck-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(10,10,20,0.6);
  white-space: nowrap;
}
.ck-manifesto-tag { color: var(--ck-blue, #0066ff); }
.ck-manifesto-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(10,10,20,0.20), transparent);
  max-width: 280px;
}

/* Refined editorial statement (toned down — restraint reads more premium) */
.ck-manifesto-statement {
  font-family: var(--ck-display, 'Fraunces', serif);
  font-variation-settings: "opsz" 120, "SOFT" 100, "WONK" 1;
  font-size: clamp(32px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #0a0a14;
  margin: 0 0 60px;
  max-width: 900px;
}
.ck-manifesto-statement em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  background: linear-gradient(135deg, #0066ff 0%, #00b4d8 60%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ck-manifesto-statement .ck-mark {
  position: relative;
  display: inline-block;
  font-style: italic;
}
.ck-manifesto-statement .ck-mark::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 0.08em;
  height: 0.32em;
  background: rgba(0, 180, 255, 0.32);
  z-index: -1;
  border-radius: 2px;
}
.ck-manifesto-statement .ck-and {
  font-family: var(--ck-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 400;
  color: rgba(10,10,20,0.45);
  margin: 0 0.1em;
}

/* Signature footer */
.ck-manifesto-sign {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(10,10,20,0.10);
}
.ck-asterisk {
  width: 32px; height: 32px;
  color: var(--ck-blue, #0066ff);
  flex-shrink: 0;
  animation: ckSpin 12s linear infinite;
}
@keyframes ckSpin { to { transform: rotate(360deg); } }
.ck-sign-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ck-sign-name {
  font-family: var(--ck-display);
  font-variation-settings: "opsz" 60, "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: #0a0a14;
  letter-spacing: -0.01em;
}
.ck-sign-loc {
  font-family: var(--ck-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(10,10,20,0.5);
}
.ck-sign-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ck-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0a0a14;
  text-decoration: none !important;
  padding: 14px 26px;
  background: #0a0a14;
  color: #fff !important;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.ck-sign-cta svg { width: 16px; height: 16px; transition: transform 0.25s; }
.ck-sign-cta:hover {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  transform: translateX(4px);
}
.ck-sign-cta:hover svg { transform: translateX(4px); }

/* ╔═════════════════════════════════════════════════════════╗
   ║ 2. ABOUT — drop cap + magazine layout                   ║
   ╚═════════════════════════════════════════════════════════╝ */
.colorlib-about .about-desc p:first-of-type {
  position: relative;
  padding-left: 0;
}
.colorlib-about .about-desc p:first-of-type::first-letter {
  font-family: var(--ck-display, 'Fraunces', serif) !important;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 104px;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: #0066ff;
  background: linear-gradient(135deg, #0066ff, #00b4d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* End-of-section signature mark */
.colorlib-about .about-desc::after {
  content: '✱';
  display: block;
  font-family: var(--ck-display);
  font-size: 28px;
  font-weight: 800;
  color: rgba(0, 100, 255, 0.4);
  text-align: center;
  margin: 40px auto 0;
  letter-spacing: 0.2em;
}

/* ╔═════════════════════════════════════════════════════════╗
   ║ 3. PROJECT GALLERY — magazine ISSUE numbering           ║
   ╚═════════════════════════════════════════════════════════╝ */
.colorlib-work .project {
  counter-increment: project-counter;
}
.colorlib-work .colorlib-narrow-content {
  counter-reset: project-counter;
}
.colorlib-work .project .desc::before {
  content: 'ISSUE ' counter(project-counter, decimal-leading-zero);
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--ck-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.32s cubic-bezier(.2,.8,.2,1);
}
.colorlib-work .project:hover .desc::before {
  opacity: 1;
  transform: translateY(0);
}

/* ╔═════════════════════════════════════════════════════════╗
   ║ 4. DECORATIVE ASTERISK SECTION BREAKS                   ║
   ╚═════════════════════════════════════════════════════════╝ */
.ck-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 0;
  margin: 0 auto;
  max-width: 600px;
}
.ck-break::before, .ck-break::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,10,20,0.18), transparent);
}
.ck-break-mark {
  font-family: var(--ck-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  font-size: 32px;
  font-weight: 800;
  color: rgba(0, 100, 255, 0.55);
  line-height: 1;
}

/* ╔═════════════════════════════════════════════════════════╗
   ║ 5. EDITORIAL SECTION CHAPTER LABELS                     ║
   ╚═════════════════════════════════════════════════════════╝ */
.colorlib-narrow-content .heading-meta {
  /* upgrade existing meta badge with chapter dot */
  position: relative;
}

/* ╔═════════════════════════════════════════════════════════╗
   ║ 7. HIRE-ME BLOCK — Now with floating tech orbs + rings ║
   ╚═════════════════════════════════════════════════════════╝ */
.ck-hire {
  position: relative !important;
  background:
    linear-gradient(135deg, rgba(0,120,255,0.08), rgba(0,212,255,0.04)),
    #ffffff !important;
  border-radius: 32px !important;
  padding: 80px 60px !important;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 80, 200, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(0, 100, 255, 0.10);
  isolation: isolate;
}

/* SVG rings — soft expanding decoration behind text */
.ck-hire-rings {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  animation: ckRingSpin 60s linear infinite;
}
@keyframes ckRingSpin { to { transform: rotate(360deg); } }

/* Floating tech orbs */
.ck-hire-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ck-orb {
  position: absolute;
  width: 64px; height: 64px;
  background: #fff;
  border: 1px solid rgba(0, 100, 255, 0.12);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 8px 24px rgba(0, 30, 90, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.8);
  font-size: 26px;
}
.ck-orb img { width: 30px; height: 30px; object-fit: contain; }
.ck-orb-1 { top: 6%;  left: 6%;  animation: ckFloat 8s ease-in-out infinite; }
.ck-orb-2 { top: 14%; right: 8%; animation: ckFloat 9s ease-in-out infinite reverse; transform: rotate(-8deg); }
.ck-orb-3 { top: 50%; left: 4%;  animation: ckFloat 11s ease-in-out infinite;        transform: rotate(6deg); }
.ck-orb-4 { bottom: 22%; right: 4%; animation: ckFloat 10s ease-in-out infinite reverse; transform: rotate(-6deg); }
.ck-orb-5 { bottom: 8%; left: 18%; animation: ckFloat 12s ease-in-out infinite;        transform: rotate(10deg); }
.ck-orb-6 { top: 8%;   left: 50%;  animation: ckFloat 9s ease-in-out infinite reverse; transform: translateX(-50%); }
@keyframes ckFloat {
  0%, 100% { transform: translateY(0)   rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

/* Content stack */
.ck-hire-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* "AVAILABLE FOR HIRE" pill */
.ck-hire-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ck-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ck-blue);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 120, 255, 0.20);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.ck-hire-dot {
  width: 8px; height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.7);
  animation: ckDotPulse 1.4s ease-in-out infinite;
}
@keyframes ckDotPulse { 50% { opacity: 0.35; transform: scale(0.85); } }

/* Big "30+" counter graphic */
.ck-hire-counter {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px 24px;
  background: rgba(0, 120, 255, 0.04);
  border: 1px solid rgba(0, 120, 255, 0.14);
  border-radius: 22px;
}
.ck-hire-num {
  font-family: var(--ck-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(60px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.85;
  color: #0a0a14;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ck-hire-num sup {
  font-size: 0.5em;
  vertical-align: super;
}
.ck-hire-lbl {
  font-family: var(--ck-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #0a0a14;
  text-align: left;
  line-height: 1.4;
}

/* Headline */
.ck-hire-headline {
  font-family: var(--ck-display) !important;
  font-variation-settings: "opsz" 100, "SOFT" 50, "WONK" 1;
  font-size: clamp(24px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: #0a0a14 !important;
  margin: 0 0 36px !important;
}
.ck-hire-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA */
.ck-hire-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  color: #fff !important;
  font-family: var(--ck-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 14px 36px rgba(0, 120, 255, 0.42);
  transition: all 0.28s cubic-bezier(.2,.8,.2,1);
}
.ck-hire-cta svg { width: 18px; height: 18px; transition: transform 0.25s; }
.ck-hire-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 120, 255, 0.55);
}
.ck-hire-cta:hover svg { transform: translateX(6px); }

/* Hide the old .btn-hire class — we use new CTA */
.ck-hire .btn-hire { display: none !important; }

/* ╔═════════════════════════════════════════════════════════╗
   ║ 6. RESPONSIVE                                           ║
   ╚═════════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
  .ck-manifesto { padding: 80px 0 70px; }
  .ck-manifesto::after { font-size: 140px; top: 50px; right: -20px; }
  .ck-manifesto-statement { font-size: clamp(28px, 7vw, 44px); margin-bottom: 56px; }
  .ck-manifesto-sign { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ck-manifesto-head { gap: 12px; flex-wrap: wrap; }
  .ck-manifesto-rule { display: none; }
  .colorlib-about .about-desc p:first-of-type::first-letter { font-size: 72px; padding: 4px 10px 0 0; }

  /* Hire-me block on mobile */
  .ck-hire { padding: 50px 24px !important; border-radius: 24px !important; }
  .ck-orb { width: 44px; height: 44px; font-size: 18px; }
  .ck-orb img { width: 22px; height: 22px; }
  .ck-orb-1, .ck-orb-6 { display: none; }     /* hide a couple on small screens */
  .ck-hire-counter { gap: 14px; padding: 12px 18px; }
  .ck-hire-num { font-size: 56px; }
  .ck-hire-lbl { font-size: 10px; }
  .ck-hire-headline { font-size: 20px !important; }
}
