/*
Theme Name: Rahul Signal Portfolio
Theme URI: https://rahulkarriportfolio.dedyn.io/
Author: Rahul Karri
Description: A cinematic, recruiter-focused WordPress portfolio for CRM and marketing automation work.
Version: 1.0.0
Text Domain: rahul-signal-portfolio
*/

:root {
  --rk-ink: #edf4ff;
  --rk-muted: #a6b5cb;
  --rk-night: #050912;
  --rk-blue: #76e4ff;
  --rk-violet: #a893ff;
  --rk-mint: #73f2bd;
  --rk-line: rgba(201, 224, 255, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--rk-night); }
body.rk-body { margin: 0; color: var(--rk-ink); background: var(--rk-night); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.rk-body.admin-bar .rk-nav { top: 32px; }
body.rk-body .wp-site-blocks { padding: 0; }

.rk-page { overflow: clip; background: var(--rk-night); }
.rk-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.rk-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 14px; color: #07101c; background: var(--rk-blue); border-radius: 8px; font-weight: 800; }
.rk-skip:focus { top: 20px; }

.rk-nav { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.rk-nav.is-solid { border-color: var(--rk-line); background: rgba(5,9,18,.76); backdrop-filter: blur(16px); }
.rk-nav-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.rk-logo { color: #fff; font-size: 18px; font-weight: 850; letter-spacing: -.7px; text-decoration: none; }
.rk-logo span { color: var(--rk-blue); }
.rk-nav-links { display: flex; align-items: center; gap: 24px; }
.rk-nav-links a { color: #c9d8ed; font-size: 13px; font-weight: 750; text-decoration: none; transition: color .2s ease; }
.rk-nav-links a:hover { color: var(--rk-blue); }
.rk-nav-cta { padding: 10px 14px; border: 1px solid rgba(118,228,255,.55); border-radius: 9px; color: #07101c !important; background: var(--rk-blue); }

.rk-hero { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.rk-canvas { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; opacity: .62; }
.rk-grid { position: absolute; inset: 0; z-index: -2; opacity: .42; background-image: linear-gradient(rgba(179,213,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(179,213,255,.09) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000 15%, transparent 90%); }
.rk-aurora { position: absolute; z-index: -1; width: 48vw; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .2; pointer-events: none; }
.rk-aurora.a { top: -22vw; left: -20vw; background: var(--rk-blue); }
.rk-aurora.b { right: -18vw; bottom: -26vw; background: var(--rk-violet); }
.rk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding: 135px 0 90px; }
.rk-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid var(--rk-line); border-radius: 999px; color: #d3e3f7; background: rgba(15,27,47,.52); font-size: 12px; font-weight: 750; }
.rk-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rk-mint); box-shadow: 0 0 0 0 rgba(115,242,189,.6); animation: rk-pulse 1.9s infinite; }
@keyframes rk-pulse { 70% { box-shadow: 0 0 0 10px rgba(115,242,189,0); } 100% { box-shadow: 0 0 0 0 rgba(115,242,189,0); } }
.rk-hero h1 { max-width: 760px; margin: 24px 0; color: #f4f8ff; font-size: clamp(3.65rem, 6.2vw, 6.5rem); line-height: .92; letter-spacing: -.075em; }
.rk-gradient { background: linear-gradient(96deg, var(--rk-blue), #cae1ff 46%, var(--rk-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rk-lead { max-width: 600px; margin: 0; color: var(--rk-muted); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.75; }
.rk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.rk-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 18px; border: 1px solid var(--rk-line); border-radius: 10px; color: #eaf4ff; background: rgba(255,255,255,.045); font-size: 14px; font-weight: 820; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.rk-button:hover { transform: translateY(-4px); box-shadow: 0 17px 40px rgba(0,0,0,.35); }
.rk-button.primary { border-color: var(--rk-blue); color: #06101b; background: var(--rk-blue); }
.rk-identity { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.rk-identity div { min-width: 115px; }
.rk-identity strong { display: block; color: #fff; font-size: 15px; }
.rk-identity span { color: var(--rk-muted); font-size: 12px; }

.rk-orbit-zone { position: relative; min-height: 500px; display: grid; place-items: center; transform-style: preserve-3d; }
.rk-core { position: relative; width: min(390px, 78vw); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(161,210,255,.24); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(118,228,255,.25), rgba(12,26,50,.72) 47%, rgba(7,10,22,.92) 70%); box-shadow: inset 0 0 80px rgba(118,228,255,.09), 0 35px 100px rgba(0,0,0,.42); transition: transform .18s ease-out; }
.rk-core::before, .rk-core::after { content: ""; position: absolute; border: 1px solid rgba(165,198,255,.22); border-radius: 50%; }
.rk-core::before { width: 126%; height: 49%; transform: rotate(-18deg); }
.rk-core::after { width: 150%; height: 58%; transform: rotate(47deg); border-color: rgba(118,228,255,.17); }
.rk-core-center { position: relative; z-index: 2; width: 47%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #f8fbff; background: rgba(7,15,30,.75); box-shadow: 0 0 45px rgba(118,228,255,.22); font-size: 11px; font-weight: 850; letter-spacing: 1.4px; text-align: center; text-transform: uppercase; }
.rk-orbit { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(194,220,255,.2); border-radius: 11px; color: #e6f2ff; background: rgba(13,28,52,.84); box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 12px; font-weight: 800; backdrop-filter: blur(10px); transition: transform .18s ease-out; }
.rk-orbit i { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: #06111e; background: var(--rk-blue); font-style: normal; }
.rk-orbit.one { top: 7%; left: 0; animation: rk-float 5s ease-in-out infinite; }
.rk-orbit.two { top: 37%; right: -2%; animation: rk-float 5.8s ease-in-out -1.4s infinite; }
.rk-orbit.three { bottom: 8%; left: 6%; animation: rk-float 5.2s ease-in-out -2.4s infinite; }
@keyframes rk-float { 50% { transform: translateY(-13px); } }

.rk-marquee { border-top: 1px solid var(--rk-line); border-bottom: 1px solid var(--rk-line); overflow: hidden; background: #091426; }
.rk-marquee-track { display: flex; width: max-content; gap: 42px; padding: 18px 0; color: #b8c8e0; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; animation: rk-marquee 32s linear infinite; }
.rk-marquee-track b { color: var(--rk-blue); }
@keyframes rk-marquee { to { transform: translateX(-50%); } }

.rk-section { padding: 120px 0; border-top: 1px solid rgba(206,226,255,.08); }
.rk-section.deep { background: #081221; }
.rk-eyebrow { margin-bottom: 16px; color: var(--rk-blue); font-size: 12px; font-weight: 850; letter-spacing: 1.8px; text-transform: uppercase; }
.rk-section h2 { max-width: 760px; margin: 0; color: #f2f7ff; font-size: clamp(2.4rem, 4.5vw, 4.4rem); line-height: 1; letter-spacing: -.06em; }
.rk-section-intro { max-width: 650px; margin: 19px 0 0; color: var(--rk-muted); font-size: 17px; line-height: 1.7; }

.rk-project-grid { display: grid; grid-template-columns: 1.17fr .83fr; gap: 18px; margin-top: 48px; }
.rk-project { position: relative; min-height: 292px; overflow: hidden; padding: 31px; border: 1px solid var(--rk-line); border-radius: 20px; background: linear-gradient(145deg, #122b4a, #0c1728 72%); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease; }
.rk-project:hover { border-color: rgba(118,228,255,.7); transform: translateY(-8px); }
.rk-project.featured { grid-row: span 2; min-height: 602px; background: radial-gradient(circle at 88% 13%, rgba(118,228,255,.25), transparent 25%), linear-gradient(145deg, #153a60, #0a1526 72%); }
.rk-project-tag { color: var(--rk-blue); font-size: 11px; font-weight: 850; letter-spacing: 1.4px; }
.rk-project h3 { max-width: 420px; margin: 17px 0 12px; color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.05; letter-spacing: -.045em; }
.rk-project p { max-width: 430px; color: var(--rk-muted); font-size: 15px; line-height: 1.65; }
.rk-project a { position: absolute; bottom: 30px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.rk-project a:hover { color: var(--rk-blue); }
.rk-project-graphic { position: absolute; right: -60px; bottom: -44px; width: 280px; height: 210px; border: 1px solid rgba(213,233,255,.16); border-radius: 20px; opacity: .74; transform: rotate(-12deg); background: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.08) 50%, transparent 51%), linear-gradient(#21456f 1px, transparent 1px); background-size: 48px 48px; }
.rk-project-graphic::before { content: ""; position: absolute; top: 36px; left: 27px; width: 150px; height: 9px; border-radius: 9px; background: var(--rk-blue); box-shadow: 42px 37px 0 var(--rk-violet), 10px 74px 0 var(--rk-mint); }
.rk-project-graphic::after { content: ""; position: absolute; top: 34px; right: 27px; width: 36px; height: 36px; border-radius: 50%; background: #f1f7ff; }

.rk-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.rk-capability { min-height: 178px; padding: 22px; border: 1px solid var(--rk-line); border-radius: 15px; background: rgba(255,255,255,.025); transition: background .25s ease, transform .25s ease; }
.rk-capability:hover { background: rgba(118,228,255,.08); transform: translateY(-5px); }
.rk-capability i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #06101b; background: var(--rk-blue); font-style: normal; font-weight: 900; }
.rk-capability h3 { margin: 17px 0 8px; color: #fff; font-size: 17px; }
.rk-capability p { margin: 0; color: var(--rk-muted); font-size: 13px; line-height: 1.55; }

.rk-about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.rk-statement { margin: 0; color: #dceafa; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.45; }
.rk-statement strong { color: var(--rk-blue); }
.rk-timeline { border-left: 1px solid var(--rk-line); }
.rk-timeline-item { position: relative; padding: 0 0 28px 25px; }
.rk-timeline-item::before { content: ""; position: absolute; top: 5px; left: -6px; width: 11px; height: 11px; border: 2px solid var(--rk-blue); border-radius: 50%; background: #081221; }
.rk-timeline-item:last-child { padding-bottom: 0; }
.rk-timeline-item span { color: var(--rk-blue); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.rk-timeline-item h3 { margin: 6px 0 5px; color: #fff; font-size: 17px; }
.rk-timeline-item p { margin: 0; color: var(--rk-muted); font-size: 14px; line-height: 1.55; }

.rk-contact { position: relative; padding: 145px 0; overflow: hidden; text-align: center; background: radial-gradient(circle at 50% 36%, rgba(118,228,255,.18), transparent 23%), radial-gradient(circle at 70% 76%, rgba(168,147,255,.16), transparent 25%), #06101d; }
.rk-contact h2, .rk-contact .rk-section-intro { margin-inline: auto; }
.rk-contact .rk-actions { justify-content: center; }
.rk-email { display: inline-block; margin-top: 25px; color: var(--rk-blue); font-size: 14px; text-decoration: none; }

.rk-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.rk-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .rk-hero-grid, .rk-about, .rk-project-grid { grid-template-columns: 1fr; gap: 45px; }
  .rk-hero-grid { padding-top: 130px; }
  .rk-orbit-zone { min-height: 420px; }
  .rk-project.featured { grid-row: auto; min-height: 440px; }
  .rk-capabilities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body.rk-body.admin-bar .rk-nav { top: 46px; }
  .rk-wrap { width: min(100% - 32px, 1180px); }
  .rk-nav-inner { min-height: 64px; }
  .rk-nav-links { display: none; }
  .rk-hero h1 { font-size: clamp(3.1rem, 16vw, 4.4rem); }
  .rk-actions .rk-button { width: 100%; }
  .rk-identity { gap: 16px; }
  .rk-orbit.one { left: -10px; }
  .rk-orbit.two { right: -8px; }
  .rk-capabilities { grid-template-columns: 1fr; }
  .rk-section { padding: 88px 0; }
  .rk-contact { padding: 105px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
